Design test cases for railway reservation system.
Test cases for railway reservation system:
Test case ID
|
Test case objective
|
Input data
|
Expected result
|
Actual result
|
Status
|
TC1
|
Login field
|
Any valid login name (abcxyz)
|
It should accept the login name
|
It accepted the login name
|
Pass
|
TC2
|
Password field
|
Valid password
|
It should accept the valid password
|
It accepted the valid password; successful login message
|
Pass
|
TC3
|
Password field
|
Invalid password
|
It should not accept the valid password
|
Message displayed as invalid login or wrong password.
|
Pass
|
TC4
|
Date of journey
|
Date format not before the current date
|
It should accept date
|
Accepted the date
|
Pass
|
TC5
|
Date of return journey
|
Date format, date greater than the date of journey
|
It should accept the date
|
Accepted the date
|
Pass
|
TC6
|
Boarding station
|
Valid boarding station
|
It should accept
|
Accepted the boarding station
|
Pass
|
TC7
|
Train number
|
Valid train number
|
It should accept the valid train number
|
Train number accepted
|
Pass
|