0% found this document useful (0 votes)
20 views

Assignment t 3

Uploaded by

bgmiloverr123
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Assignment t 3

Uploaded by

bgmiloverr123
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Test case_ID Test case Description Preconditions Steps to Execute Excepted Result Actual Result

TC001 Verify redirection to User is on the 1. Click 'Cancel' User is redirected User was
homepage after login page button to the homepage. redirected to
clicking 'Cancel' homepage
successfully.

TC002 User is logged 1.Click on "Create Profile was


Verify user can create in Profile". Profile is created created
a new profile 2.Fill in required and user is taken to successfully.
fields (name, the profile page.
email, etc.).
3.Click "Save".

Verify posting a status User is logged 1. Click on 'What's Status is posted


update in on your mind?' and visible on the Status is
2. Enter text timeline posted and
3. Click 'Post' visible on
TC003 timeline
Verify sending a friend User is logged 1. Search for a user Friend request is Friend request
request in 2. Click on 'Add sent successfully sent, awaiting
Friend' button response

TC004
Verify changing privacy User is logged Privacy setting is
settings for a post in 1. Post a status updated
2. Click on privacy successfully Privacy setting
settings updated to
TC005 3. Select 'Friends' 'Friends'
Status(Pass/Fail) Comments
Pass Behavior as
expected.

Pass Profile creation


form was user-
friendly.

Pass Status update


appears
correctly.

Pass Request sent


without issues.

Pass Privacy setting


changed as
expected.
Test case Description
Test case_ID Preconditions Steps to Execute Actual Result
TC001 Verify that pressing User is on the Error message Error message
'Enter' with empty login page displayed: "Please displayed
fields shows an error enter your
1. Leave username credentials"
and password
fields empty
2. Press 'Enter'
TC002 Verify sign-up with None 1. Open Facebook Error message Error message
missing required fields sign-up page indicating displayed
2. Leave required required fields
fields blank
3. Click 'Sign Up'

TC003 Verify posting an empty User is logged in No post is No status


status update created; error posted, error
message message
1. Click on 'What's displayed shown
on your mind?'
2. Leave text area
empty
3. Click 'Post'
TC004 Verify sending a friend User is logged in Error message
request to non-existing indicating user
user not found
1. Search for a
non-existing user
2. Click 'Add Error message
Friend' button displayed
Verify changing privacy
settings without posting 1. Attempt to
change privacy Error message
settings without indicating no post Error message
TC005 User is logged in making a post available displayed
TC006 Verify login with a Account is Error message Error message
locked account locked indicating account displayed
is locked
1. Open Facebook
login page
2. Enter locked
email
3. Enter valid
password
4. Click 'Log In'
TC007 Verify password reset None Error message Error message
with invalid email indicating email displayed
not found
1. Open Facebook
login page
2. Click 'Forgot
Password?'
3. Enter invalid
email
4. Click 'Submit'
Comments
Pass Input validation
working.

Pass System
prevents
submission
without fields.

Pass System does


not allow empty
posts.

Pass System handles


non-existent
users properly.

Pass

System restricts
action correctly.
Pass System
correctly
identifies locked
accounts.

Pass System handles


invalid reset
requests
correctly.
Test case Description
Test case_ID Preconditions Steps to Execute Actual Result

1. Open the Indian


Railways PNR status
page
2. Enter valid PNR
User has number PNR status is PNR status
Verify checking PNR booked a train 3. Click 'Check displayed with displayed
TC001 status ticket Status' correct details correctly
1. Open 'My
Bookings' page
2. Select the ticket
3. Click 'Cancel' Ticket
User has a cancellation Ticket
Verify cancellation of a confirmed confirmation is successfully
TC002 booked ticket ticket displayed cancelled

1. Open the Indian


Railways booking
page
2. Enter source and
destination
3. Select date Availability
Verify seat availability User is logged 4. Click 'Check Seat availability is displayed
TC003 for a specific train in Availability' displayed accurately

1. Open 'My
Bookings' page
2. Select the ticket Invoice is Invoice
Verify the process of User has 3. Click 'Generate generated and generated
TC004 generating an invoice booked a ticket Invoice' downloadable successfully

1. Proceed to
payment after
selecting train
2. Choose payment
method Payment
Verify payment 3. Enter payment confirmation Payment
processing during User has details message is processed
TC005 ticket booking selected a train 4. Click 'Pay Now' displayed successfully
Comments

Status shows
accurate
Pass information.

Cancellation
process
functions
Pass correctly.

Availability
check is
Pass accurate.

Invoice
generation
works without
Pass issues.

Payment
process
completed
without
Pass errors.
Test case Description
Test case_ID Preconditions Steps to Execute ActualResult

1. Open booking
page
2. Enter invalid
source and
Verify ticket booking destination Error message
with invalid journey User is logged 3. Select date indicating invalid Error message
TC001 details in 4. Click 'Book Now' route displayed

1. Open booking
page
2. Enter valid
source and
destination
3. Select a past Error message
Verify booking with User is logged date indicating date not Error message
TC002 past travel date in 4. Click 'Book Now valid displayed

1. Open the PNR


status page
2. Enter invalid PNR
Verify PNR status check number Error message
with invalid PNR 3. Click 'Check indicating PNR not Error message
TC003 number None Status' found displayed

1. Open 'My
Bookings' page
2. Select a non- Error message
Verify cancellation of a User is logged existent ticket indicating ticket Error message
TC004 non-existent ticket in 3. Click 'Cancel' not found displayed

1. Proceed to
payment
Verify payment 2. Enter invalid card Error message
processing with invalid User has details indicating Error message
TC005 card details selected a train 3. Click 'Pay Now' payment failure displayed

1. Open booking
page
2. Enter valid
source and
destination
3. Leave passenger Error message
Verify booking with User is logged details blank indicating missing Error message
TC006 insufficient user details in 4. Click 'Book Now' passenger details displayed
1. Open 'My
Bookings' page
2. Attempt to
Verify generating an generate an invoice Error message
invoice for a non- User is logged for a non-booked indicating no Error message
TC007 booked ticket in ticket ticket found displayed
Comments

System handles
invalid routes
Pass properly.

System
prevents
booking for
Pass past dates.

System
correctly
identifies
Pass invalid PNR.

System handles
non-existent
tickets
Pass correctly.

System does
not process
invalid
Pass payments.

System
prevents
booking
Pass without details.
System handles
invoice
generation
Pass correctly.
Test case Description
Test case_ID Preconditions Steps to Execute Actual Result

1. Search for a user


2. Click 'Connect'
button
3. Select 'Add a Connection
Verify sending a User is logged note' (optional) request is sent Request sent
TC001 connection request in 4. Click 'Send' successfully successfully

1. Click on 'Start a
post' Post appears
Verify posting an User is logged 2. Enter text Update is visible correctly on
TC002 update on the feed in 3. Click 'Post' on the user's feed feed

1. Open 'Premium
Subscription' page
2. Select
subscription plan
Verify payment 3. Enter payment Payment Payment
processing for premium User is logged details confirmation is processed
TC003 subscription in 4. Click 'Subscribe displayed successfully

1. Open messages
2. Click 'Compose'
button
3. Select a
connection Message is sent
Verify sending a direct User is logged 4. Enter message and visible in the Message sent
TC004 message in 5. Click 'Send' conversation successfully

1. Go to profile
page
2. Click 'Edit' on
profile section Profile
3. Update information is Profile
Verify updating user User is logged information updated updated
TC005 profile information in 4. Click 'Save' successfully correctly
Comments

Connection
request
functionality
Pass works.

Posting
updates
works
without
Pass issues.

Subscription
process
completes
Pass correctly.

Messaging
feature
functions
Pass properly.

Profile update
process is
Pass effective.
Test case Description
Test case_ID Preconditions Steps to Execute ActualResult

Verify sending a 1. Search for a non- Error message


connection request to User is logged existent user indicating user not Error message
TC001 a non-existent user in 2. Click 'Connect' found displayed

1. Click on 'Start a
post'
Verify posting an 2. Leave the text Error message
update with no User is logged area empty indicating content Error message
TC002 content in 3. Click 'Post' is required displayed

1. Open messages
2. Click 'Compose'
3. Enter a non- Error message
connection user indicating cannot
Verify messaging a User is logged 4. Enter a message message non- Error message
TC003 non-connection user in 5. Click 'Send' connections displayed

1. Open 'Premium
Subscription' page
2. Select a plan
Verify payment 3. Enter invalid Error message
processing with invalid User is logged card details indicating Error message
TC004 card details in 4. Click 'Subscribe' payment failure displayed

1. Go to profile
page
2. Click 'Edit'
3. Enter invalid
data (e.g., special
Verify updating profile characters in Error message
with invalid User is logged name) indicating invalid Error message
TC005 information in 4. Click 'Save' input displayed
1. Search for a user
2. Click 'Connect'
3. Leave 'Add a
Verify trying to note' blank when Error message
connect without User is logged it’s mandatory indicating note is Error message
TC006 required note in 4. Click 'Send' required displayed

1. Open messages
2. Click 'Compose'
3. Select a
connection
Verify attempting to 4. Leave the
send a message message field Error message
without entering any User is logged empty indicating message Error message
TC007 text in 5. Click 'Send' cannot be empty displayed
Comments

System
handles non-
existent users
Pass properly.

System does
not allow
Pass empty posts.

System
restricts
messaging
non-
Pass connections.

System does
not process
invalid
Pass payments.

System
prevents
invalid profile
Pass updates.
System
correctly
enforces
required
Pass notes.

System
prevents
sending empty
Pass messages.

You might also like