0% found this document useful (1 vote)
3K views6 pages

Railway Testcases

1) The document describes test cases for a railway reservation system with 12 test cases covering scenarios like entering from and destination places, selecting trains and classes, entering passenger details, checking offers, entering dates and mobile number, submitting OTP. 2) Each test case has preconditions, test steps, test data and expected results outlined. 3) The test cases aim to validate basic functionality of the reservation system like accepting valid input values and displaying correct responses.

Uploaded by

Pratiksha Jadhav
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 (1 vote)
3K views6 pages

Railway Testcases

1) The document describes test cases for a railway reservation system with 12 test cases covering scenarios like entering from and destination places, selecting trains and classes, entering passenger details, checking offers, entering dates and mobile number, submitting OTP. 2) Each test case has preconditions, test steps, test data and expected results outlined. 3) The test cases aim to validate basic functionality of the reservation system like accepting valid input values and displaying correct responses.

Uploaded by

Pratiksha Jadhav
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/ 6

Project Name: Railway reservation system

Created By:-Pratiksha Jadhav


Date of creation-12-10-2022
Date of review-

Test Case ID Test Scenario Test Case

Enter Valid
TC001 Enter From place
From place

TC002 Enter destination Enter vaild to


place place

Enter
available
TC003 Select train option source to
destination
train

Select class
TC004 Select class for trainfrom which
you want to
travell
Enter correct
Enter passenger
passenger
TC005 details to add
details with
information
age

TC006 Cancle to add Cancle details


information of passenger

Check available Enter coupon


TC007 offers and code if you
discounts have a coupon

Check journey Enter date of


TC008
date journey
Check date of
TC009 Enter return da
return

Enter valid 10
Enter correct
TC010 digit mobile
mobile number
number

Enter valid 4
TC011 Enter OTP digit OTP
number

Click on submit Click on


TC012
button submit button
Precondition Test Steps Test Data Expected Result Actual Result Status

1)Internet should be
connected 2)Site 1)Open link Valid source place Valid source
must be opened 2)Enter valid Mumbai should be place should be Pass
3)Textfield avaible to source place accepted accepted
enter text

1)Internet should be 1)Open link


connected 2)Site 2)Enter valid Valid destinaton Valid destination
must be opened source place Pune place should be place should be Pass
3)Textfield avaible to 3)Enter valid accepted accepted
enter text destination place

1)Open link
1)Internet should be 2)Enter valid
connected 2)Site source place Available train Available train
must be opened 3)Enter valid Mahalxmi should be should be Pass
Express
3)Textfield avaible to destination place accepted accepted
enter text 4)Select train from
available

1)Open link
1)Internet should be 2)Enter valid
source place
connected 2)Site Available train Available train
3)Enter valid
must be opened Second class classes should be classes should Pass
destination place
3)Textfield avaible to accepted be accepted
4)Select train from
enter text
available 5)Select
class
1)Open link
2)Enter valid
1)Internet should be Name-
source and Passenger Passenger
connected 2)Site Pratiksha
destination place information information
must be opened Jadhav Age- Pass
3)Select train from should be should be
3)Textfield avaible to 18 Gender-
available 4)Select accepted accepted
enter text Female
class 5)Enter
passenger details

1)Open link
2)Enter valid
1)Internet should be source and
destination place passengers passengers
connected 2)Site
must be opened 3)Select train from _ information information Pass
available 4)Select should be should be
3)Textfield avaible to
class 5)Enter cancelled cancelled
enter text
passenger details
and click on add
button

1)Open link
2)Enter valid
source and
destination place
Cheked th
1)Internet should be 3)Select train from Coupon code is
connected 2)Site available 4)Select _ cheked if correct coupon code Pass
then cancel the
must be opened class 5)Enter then approved
offer
passenger details
and click on add
button 6)Check
offers

1)Open link
2)Enter valid
1)Internet should be source and It should
connected 2)Site destination place 10/13/2022 It should accepted accepted date of Pass
date of journey
must be opened 3)Select train from journey
available 4)Enter
journey date
1)Open link
2)Enter valid
source and
1)Internet should be It should
destination place It should accepted
connected 2)Site 10/15/2022 accepted return Pass
3)Select train from return date
must be opened date
available 4)Enter
journey date and
return date

1)Open link
2)Enter valid
source and
1)Internet should be destination place It should
connected 2)Site 3)Select train 8291872203 It should accepted accepted 10 Pass
10 digit number
must be opened 4)Enter journey digit number
date and return
date 5)Enter
mobile no

1)Open link
2)Enter valid
source and
1)Internet should be
destination place
connected 2)Site It should
must be opened 3)Select train 4986 It should accepted accepted OTP Pass
4)Enter journey OTP number
3)Textfield avaible to date and return number
enter text date 5)Enter
mobile no 6)Enter
OTP

1)Open link
2)Enter valid
source and
1)Internet should be destination place
connected 2)Site 3)Select train It should display
It should display passenger
must be opened 4)Enter journey _ Pass
passenger details
3)Button to submit date and return details
information date 5)Enter
mobile no 6)Enter
OTP 7)Click on
button

You might also like