0% found this document useful (0 votes)
94 views10 pages

Railway Reservation System

The document describes test cases for the home page search function of a railway reservation system. It includes 10 test cases testing various search scenarios including valid, invalid, incomplete, and edge case inputs. The test cases validate that the system returns expected results or errors for each scenario.

Uploaded by

Jai Malhar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
94 views10 pages

Railway Reservation System

The document describes test cases for the home page search function of a railway reservation system. It includes 10 test cases testing various search scenarios including valid, invalid, incomplete, and edge case inputs. The test cases validate that the system returns expected results or errors for each scenario.

Uploaded by

Jai Malhar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 10

Product name: Railway Reservation System Test Designed date: 10/14/2022

Test designed by: Mr Atharv Sultanpure Test Executed by: Mr Atharv Sultanpure
Module name: Home Page (Search Train) Test Executed date: 10/14/2022

Test case id Test Case Senerio Test case Pre-Condition

To check the result of Needs a valid Train


Verifying to get searched the
TCP001 available source city station from source to
train
and destination city destination

Verifying to get searched the To check the result of Needs a valid train
TCP002 train unavailable source city station from source to
and destination city destination

Needs a valid source


Verifying to get searched the To check the result of and destination city
TCP003 train unavailable source city which have train station
and destination city
avaliable

Needs a valid source


Verifying to get searched the To check the result and destination city
TCP004 with not selecting the which have train station
train
journey date
avaliable
Need invalid source and
To check the result
Verifying to get searched the destination which have
TCP005 with invalid source
train no train station
and destination city
available

To check the result by Needs a valid source


Verifying to get searched the not selecting not and destination city
TCP006
train selecting gernal which have train station
section avaliable

Needs a valid source


Verifying to get searched the To check the result by and destination city
TCP007
train not selecting the class which have train station
avaliable

Check whether the value To check the result Needs a valid source
getting changed or not when that result that values and destination city and
TCP008
the user select the value from is getting changed or selecting any item in
list not "All class"
To check the result
Needs a valid source
with leaving
Verifying to get searched the and destination city
TCP009 destination city field
train which have train station
blank and all
avaliable
parameters filled

Needs a valid source


To check the result
Verifying to get searched the with clicking search and destination city
TCP010
train which have train station
button
avaliable
Excepted
Test steps Test Data Actual Result Status
Result
From:
Kolhapur
1)Open the To:
website Pune
2)Enter source Date: It shows
city 3)Enter the result
The reasult
Destination city 1/9/2022 of the Pass
is shown
4)Select available
Journey Date train
5)Click
Search

From:
Ajara
1)Open the To:
Delhi It doesn't
website
Date: show
2)Enter source anything.N It displays
city 3)Enter
either nothing nor
Destination city 1/9/2022 show any process Pass
4)Select
Journey Date error nor further.
5)Click process
Search any further

From:
Ajara
1)Open the To:
Delhi It doesn't
website
2)Enter source Date: show
anything.N It displays
city 3)Enter
either nothing nor
Destination city 1/9/2022 show any process Pass
4)Select
error nor further.
Journey Date process
5)Click
any further
Search

From:
Pune
To: As the
Delhi journey It select the
1)Open the Date: date is not current date
website
selected it as journey
2)Enter source 1/9/2022
should data and
city 3)Enter Pass
select the display all
Destination
current the train of
4) Click Search
date as today
journey booking
date
From:
Gahinglaj
1)Open the To:
website Ajara No train
Date: It display
2)Enter source route
nothing on
city 3)Enter should be
the
Destination city 1/9/2022 displayed Pass
page,result
4)Select nothing
where not
Journey Date should be
shown
5)Click shown
Search

From:
Pune
To:
Ajara As the
1)Open the Date: section of
website 1/9/2022 the train is
2)Enter source
not It selects the
city 3)Enter
selected,it general
Destination city Pass
takes the section by
4)Select
general deafult
Journey Date
section as
5)Click
default and
Search
continues

From:
Pune
To:
Mumbai
Date: As no class
1)Open the 1/9/2022 is
website particularly It displays
2)Enter source
selected, it the train
city 3)Enter
consideres booking of
Destination city Pass
all classes all different
4)Select
as deafult available
Journey Date
which are classes
5)Click
available
Search
for booking

From:
Pune
1)Open the To:
website Mumbai
2)Enter source Date:
city 3)Enter 1/9/2022 Shows the It shows the
Destination city next page result Pass
4)Select result sucessfully
Journey Date
5)Click
Search
From:
Pune
1)Open the Date:
website
2)Enter source 1/9/2022 It should It diplays
city 3)Enter show error error,'Please
Destination city of giving submit Pass
4)Select the right correct
Journey Date input input'
5)Click
Search

As there is
not even a It diplays
single input error,'Please
1]Click search - given it submit Pass
shows correct
error input'
message
Product name: Railway Reservation System Test Designed date: 10/14/2022
Test designed by: Malhar kulkarni Test Executed by: Malhar kulkarni
Module name: Train listing Test Executed date: 10/14/2022

Test case id Test Case Senerio Test case Pre-Condition Test steps

1]Open
It sorts the train list by Url
To check sort by
Verifying to book the ticket selecting certain
TCP001 parameter weither it 2]Search
successfully condition with early
works or not the train
first and last first 3]Select
sort by

It sorts the train


1]Open
according condition
Url
given in the previous
Verifying to book the ticket To check the refine search module and
TCP002 successfully results after changing those 2]Search
the train
condation it featch the
3]select
train according the new
the class
condation given

1]Open
Url

It resets all the changed 2]Search


Verifying to book the ticket To check the reset searching values to the the train
TCP003
successfully filter previous searching 3]select
value the class
4]click
'reset
filter'
1]Open
Url
To check the pricing of
Verifying to book the ticket the different types of Just select any class
TCP004 2]Search
successfully seat in train is display from the class section
the train
to the user
3]select
the class

1]Open
Url
Needs all info for
While booking, to
Verifying to book the ticket booking to be filed 2]Search
TCP005 check the result by not
successfully correctly and must the train
selecting the class
logined to the website 3]Click
the 'book
now'

1]Open
Url
To check after all valid Needs all info for
Verifying to book the ticket information being booking to be filed 2]Search
TCP006
successfully filled and to book the correctly and must the train
ticket logined to the website 3]Click
the 'book
now'

1]Open
Url
Needs all info for
To check if ticket gets booking to be filed
Verifying to book the ticket 2]Search
TCP007 booked even without correctly and must
successfully the train
logging in
logined to the website 3]Click
the 'book
now'
Excepted Actual
Test Data Status
Result Result

It displays
Selected: It should the eraly
display the train
booking of which is Pass
Duration -
the train at available
early first early for
booking

As the train
having the
disselected
Dis-select: should be It displays
second the
siting,AC removed and remaing Pass
chair car remaining train list
selected
class should
be displayed

It diplays
It should
reset all the all the
booking
changed
- list as it is Pass
values to the
when
previous
searched
one.
earlier
Its should
It changes
display the
the price
price
- as the Pass
differently
class
according to
changes
each class

It displays
It should the error
show error to select
- Pass
to select the any
class respectiv
e class

After logging
in and all It
valid successful
- Pass
parameters it ly books
should book the train
the train

The 'book
As the
now'
account is
button is
not log in in
not
- it doesn't Pass
visible, it
allow to
doesn't
book the book the
train
ticket

You might also like