0% found this document useful (0 votes)
14 views

Example

Uploaded by

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

Example

Uploaded by

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

Scenario 1

Name: Successfully logging in the website.


Purpose: To test the successful login in the website.
Inputs and Values: User Name: agileway
Password: testwise
Pre-condition(s): The user is not logged in and already has an account.
Scenario: 1- The user goes to the home page.
2- The home page is displayed.
3- The user enters the correct user name and
password.
4- The user press “Sign in” button.
5- The user is logged in.
6- Assert that the text “Sign in!” is present.

Scenario 2
Name: Unsuccessful log-in attempt.
Purpose: To test the unsuccessful login in the website due to
wrong password.
Inputs and Values: User Name: agileway
Password: wrongpassword
Pre-condition(s): The user is not logged.
Scenario: 1- The user goes to the home page.
2- The home page is displayed.
3- The user enters the user name and password.
4- The user press “Sign in” button.
5- Assert that the text “Invalid email or password”
is present. The user is not logged in.

Scenario 3
Name: Pay by Credit Card.
Purpose: To test the successful paying by credit card when

1 /4
purchasing a flight.
Inputs and Values: User Name: agileway
Password: testwise
First name: Ali
Last name: Ahmed
Card number: 1234567812345678
Pre-condition(s): The user is not logged.
Scenario: 1- The user goes to the home page.
2- The home page is displayed.
3- The user enters the user name and password and
clicks the Sign on button.
4- The user selects Return check box for the Trip
Type, New York from the Origin dropdown
menu, Sydney from the Destination dropdown
menu, the date 1 May 2021 for departing, the
date 31 May 2021 for returning, and the first
flight at 8:00 Qantas Airline.
5- The user clicks the Continue button.
6- The user enters the first and last names and
clicks Next.
7- The Pay by Credit Card page is displayed.
8- The user selects the Visa option for Card type,
enters the Card number, and expiry day 1 2024.
9- The user clicks the Pay now button.
10- Assert that the texts “Confirmation” and
“Passenger Details: Ali Ahmed” are present.

Scenario 5
Name: The title of the main page appears correctly.
Purpose: To test the main page title appears correctly.
Inputs and Values: None.
Pre-condition(s): None.
Scenario: 1- The user goes to the main page.
2- Assert that the title displayed is “Agile Travel”.
2 /4
Scenario 6
Name: Check Values of Origin and Destination.
Purpose: To test the values of origin and destination of a flight.
Inputs and Values: User Name: agileway
Password: testwise
Pre-condition(s): The user is not logged.
Scenario: 1- The user goes to the home page.
2- The home page is displayed.
3- The user enters the user name and password and
clicks the Sign on button.
4- The user selects Return check box for the Trip
Type, New York from the Origin dropdown
menu, and Sydney from the Destination
dropdown menu.
5- Assert that the value of Origin dropdown menu
is ‘New York’.
6- Assert that the value of the Destination
dropdown menu is ‘Sydney’.

3 /4

You might also like