STE- PRACTICAL 4
Name:- Anas Qureshi
Roll No:- 220440
---------------------------------------------------------------------------------------------------------------------------
--Railway Reservation Form
--Test Case:-
Test Test Case Pre- Steps Input Data Expected Actual Status
Case Name conditio Result Result
ID n
TC00 Verify the User is 1. Click on "New Delhi" The 'From' The 'From' Pass
1 'From' field on the the 'From' field should field
accepts 'Book field accept the accepted
input Ticket' 2. Enter a input and "New Delhi"
page valid station display and
name "New displayed it
Delhi" correctly
TC00 Verify the User is 1. Click on "Mumbai" The 'To' The 'To' field Pass
2 'To' field on the the 'To' field field should accepted
accepts 'Book 2. Enter a accept the "Mumbai"
input Ticket' valid station input and and
page name display displayed it
"Mumbai" correctly
TC00 Verify date User is 1. Click on "20/08/2024" The selected The date Pass
3 selection on the the date date should "20/08/2024"
'Book picker be was
Ticket' 2. Select a displayed in displayed
page date the date correctly in
field the date field
TC00 Verify class User is 1. Click on "Sleeper" The selected The Pass
4 selection on the the 'All class should dropdown
'Book Classes' be displayed
Ticket' dropdown displayed in "Sleeper"
page 2. Select a the correctly
class dropdown
TC00 Verify User is 1. Click on "GENERAL" The The Pass
5 'General' on the the 'GENERAL 'GENERAL'
category 'Book 'GENERAL' ' category category was
selection Ticket' dropdown should be selected and
page 2. Select the selected and displayed
'General' displayed correctly
option
TC00 Verify User is 1. Fill in all From: "New The system The system Pass
6 'Search' on the required Delhi", To: should displayed
button 'Book fields "Mumbai" display the available
functionality Ticket' 2. Click on available trains
page with the 'Search' trains correctly
valid button between the
inputs selected
stations
TC00 Verify User is 1. Click on N/A The The Pass
7 'Flexible on the the 'Flexible checkbox checkbox
with Date' 'Book with Date' should be was selected
checkbox Ticket' checkbox selected
page
TC00 Verify User is 1. Click on N/A The The Pass
8 'Person with on the the 'Person checkbox checkbox
Disability 'Book with should be was selected
Concession' Ticket' Disability selected
checkbox page Concession'
checkbox
TC00 Verify User is 1. Click on "InvalidStation" The system The system Fail
9 invalid on the the 'From' should did not
station input 'Book field display an display an
in 'From' Ticket' 2. Enter an error error
field page invalid message or message and
station not allow accepted the
name the invalid invalid
input station
TC01 Verify User is 1. Click on "InvalidStation" The system The system Fail
0 invalid on the the 'To' field should did not
station input 'Book 2. Enter an display an display an
in 'To' field Ticket' invalid error error
page station message or message and
name not allow accepted the
the invalid invalid
input station
TC01 Verify 'Easy User is 1. Click on N/A The system The system Pass
1 Booking on on the the 'Easy should redirected to
AskDISHA' 'Book Booking on redirect the the
button Ticket' AskDISHA' user to the AskDISHA
page button AskDISHA page
booking correctly
page
TC01 Verify User is 1. Leave the N/A The system The system Pass
2 missing on the 'From' field should displayed an
input error 'Book empty display an error
Ticket' 2. Click on error message
page with the 'Search' message about the
missing button indicating missing
fields that the 'From' field
'From' field
is required
TC01 Verify past User is 1. Click on "01/01/2023" The system The system Fail
3 date on the the date should allowed past
selection 'Book picker display an date
error Ticket' 2. Select a error selection and
page past date message did not
indicating display an
that the date error
cannot be in message
the past
TC01 Verify User is 1. Click on N/A The The Pass
4 'Train with on the the 'Train checkbox checkbox
Available 'Book with should be was selected
Berth' Ticket' Available selected
checkbox page Berth'
checkbox
TC01 Verify User is 1. Select N/A All fields, The fields Fail
5 dropdown on the any value in including and
field reset 'Book the 'All dropdown dropdowns
functionality Ticket' Classes' selections, reset to
page dropdown should be default
2. Click the reset to their values
reset button default except the
to clear the values 'All Classes'
form dropdown,
which
retained the
selected
value