TEST CASES FOR FLIGHT RESERVATION SYSTEM
TEST CASE 1-USER LOGIN
Incorrect Input: Incorrect username, which is the email-id in the case of the Airline
Reservation System.
Pass Criteria: An appropriate message should be generated to indicate that an invalid user
name has been typed.
Correct Input: The correct input would be a valid e-mail id of the user and a correct
password associated with the email-id which he uses to log in.
TEST CASE 2-USER REGISTRATION
Incorrect Input: Wrong format entered in the input fields for the registration page.
Pass Criteria: An appropriate message should be generated to the user saying that he has
entered the wrong format in the specific input field.
Correct Input: The correct input would a correct format entered by the customer into the
input fields of the registration page.
Pass Criteria: The pass criteria for this test case would be a successful registration of the
customer into the Airline Reservation System.
TEST CASE 4-SEARCH AND BOOK FLIGHTS
Incorrect Input: Incorrect input in this case, would be incorrect search criteria entered or
incorrect format of data entered into the data entry fields of the flight search and booking
page.
Pass criteria: A message has to be generated to the user indicating the wrong entry that he
has made in the fields.
Correct Input: A correct input would be entering the data into the data entry fields in a
correct format.
Pass Criteria: The pass criteria for this test case would be that the search would return valid
results and then when the customer made the booking, the system has to generate a
confirmation to the customer by displaying the message.
TC # 1 - USER LOGIN
TEST UNIT TEST CASE RESULT
Log In Button An invalid username(which is The system generates message
the e-mail id in this case) or saying " invalid user id" or
password is entered by the user invalid password, whichever is
the case.
Log In Button A valid username password is The system logs on the user
entered by the user and transfers him to the
booking page
TC # 2 - USER REGISTRATION
TEST UNIT TEST CASE RESULT
New User button Wrong format entered in the The system prompts a message
input fields of the registration to the user saying that he has
(Used for Register)
page entered a wrong format in the
input fields.
New User button Passwords and Confirm The system generates a
Password fields do not match in message to the user saying
the registration page "please enter confirm password
field again.
New User button Data Fields left out empty in the The system prompts a message
registration page. to the user asking him to fill the
empty fields he has left out.
New User button Correct data entered into the The system accepts the details
fields in the register page of the customer and then logs
him onto the system and
displays the page where he can
search and book for flights
TC # 3-SEARCH AND BOOK FLIGHTS
TEST UNIT TEST CASE RESULT
Flight booking Wrong format of information The system generates an
entered into the data fields of message to the user error
the flight booking page indicating that the wrong
format of data is entered and to
re-enter the data.
Flight booking Wrong date format, in the date The systems generates a
of journey data field, wrong message to the user saying that
flight number in the Flight he has entered an invalid date
Number fields etc, format and incase of wrong
flight number, indicates that his
(similarly for all the other data
entry is invalid.
fields of the FlightSearch page)
Flight booking Correct format of data is The system allows the users to
entered into the data fields in book the flight by providing
the flight booking page. details required and directs
them to the booking
confirmation page.