Sie sind auf Seite 1von 19

TestScenario TestCaseID TestCaseName

Validate the login


functionality of the
application to make sure
only the registered
members are allowed to
login TC001 loginFunctionTesting

TC002 loginFunctionTesting

TC003 loginFunctionTesting

TC004 loginFunctionTesting

TC005 loginFunctionTesting

TC006 loginFunctionTesting
Validate all the fields of
Fligh Finder modules to
make sure they work
properly TC007 flightTypeRoundTrip

TC008 flightTypeOneWay

TC009 passengerCountList

TC010 departingPortListTesting
TC011 departingMonthListTesting

TC012 departingDayListTesting

TC013 arrivingPortListTesting

TC014 returningMonthListTesting

TC015 returningDayListTesting

TC016 serviceClassEconomyTesting

TC017 serviceClassBusinessTesting

TC018 serviceClassFirstTesting

TC019 airlineListTesting
Validate Fligh finder
function to make sure
only combinations of
valid inputs will take the
user to SELECT FLIGHT
page TC020 flightFinderFunctionalTestingNegative

TC021 flightFinderFunctionalTestingNegative
TC022 flightFinderFunctionalTestingPositive

Validate Select Fligh


Module to make sure
available flight name,
price, depart time and
stop options are all
displayed and available
flights are selectable TC023 selectFlightModuleTesting

TC024

Validate BOOK A FLIGHT


Summary to make sure
all the information
displayed correctly in the
BOOK A FLIGHT PAGE TC025

TC026
Validate BOOK A FLIGHT
module to make sure
only valid inputs will
allow user to book the
flight TC027 bookFlightFunctionalTesting

TC028

TC029
TC030
TC031

Validate flight
confirmation page to
make sure flight
information, passenger
infomarion, flight
conimation number and
price informaton
displayed currectly TC032 flightConfirmationNumberTesting
TestCaseDescriptio
n TestStep TestData

1.Open google Chrome and 1.URL:http://newtours.demoa


navigate to URL 2.Insert user ut.com/mercurywelcome.php
blank username and name 3.Insert password 4.Click 2.user name: blank 3.
blank password Sign-In button password: blank
1.Open google Chrome and 1.URL:http://newtours.demoa
navigate to URL 2.Insert user ut.com/mercurywelcome.php
valid username and name 3.Insert password 4.Click 2.user name: mercury 3.
blank password Sign-In button password: blank
1.Open google Chrome and 1.URL:http://newtours.demoa
navigate to URL 2.Insert user ut.com/mercurywelcome.php
valid username and name 3.Insert password 4.Click 2.user name: mercury 3.
invalid password Sign-In button password: mer
1.Open google Chrome and 1.URL:http://newtours.demoa
navigate to URL 2.Insert user ut.com/mercurywelcome.php
Invalid username and name 3.Insert password 4.Click 2.user name: mer323c 3.
valid password Sign-In button password: mercury
1.Open google Chrome and 1.URL:http://newtours.demoa
navigate to URL 2.Insert user ut.com/mercurywelcome.php
blank username and name 3.Insert password 4.Click 2.user name: blank 3.
valid password Sign-In button password: mercury
1.Open google Chrome and 1.URL:http://newtours.demoa
navigate to URL 2.Insert user ut.com/mercurywelcome.php
valid username and name 3.Insert password 4.Click 2.user name:mercury 3.
valid password Sign-In button password: mercury

verify Round Trip


checkBox is selected
by default
verify One Way
checkBox is
selectable
verify Passengers
dropdown list
contains all the
available counts

verify Departing From


dropdown list
contains all the
available port names
verify departing
Month dropdown list
contains months from
January to December

verify departing Day


dropdown list
contains day
numbers from 1 to 31

verify Arriving In
dropdown list
contains all the
available port names

verify Returning
Month dropdown list
contains months from
January to December

verify Returning Day


dropdown list
contains day
numbers from 1 to 31
verify Economy class
checkBox is selected
by default
verify Business class
checkBox is
selectable
verify First class
checkBox is
selectable

verify Airline
dropdown list
contains names of all
the available airlines

same airport for


departure and arrival
departure date later
than arrival date
all valid inputs

verify all the


available flight
names, times and
prices are displayed
correctly for
Departing airlines
verfiy Unified Airlines
363 option is
selectable

verify departing
airline name is
displayed correctly
verify departing
airline price is
displayed correctly

blank firstname and


blank last name
blank firstname and
valid last name
valid firstname and
blank last name
blank credit card
all valid inputs

verify flight
confirmation number
appears in right
format
ExpectedResult ActualResulTestStatus
Test Step locator type locator Data
Open google Chrome and go to URL http://newtours.demo
Insert User Name css input[name='userName'] mercury
Insert Password css input[name='password'] mercury
Click Sign-In button css input[name='login']
wait untill element clickable css input[value="oneway"]
check trip type css input[value="oneway"]
select passenger count css select[name='passCount']
select Departing port css select[name='fromPort']
Select departing month css select[name='fromMonth']
Select departing day css select[name='fromDay']
Select Arriving port css select[name='toPort']
Select Returning month css select[name='toMonth']
Select Returning day css select[name='toDay']
check service class css input[value="Business"]
select Airline preference css select[name='airline']
click continue button css input[name='findFlights']
Keyword
chrome
type
type
click
wait_click
check
select
select
select
select
select
select
select
check
select
click
username password

mercury
mercury mer
mer323c mercury
mercury
mercury mercury
passengers departing_port departing_month departing_day arriving_port
1 Acapulco January 1 Acapulco
2 Frankfurt February 2 Frankfurt
3 London March 3 London
4 New York April 4 New York
Paris May 5 Paris
Portland June 6 Portland
San Francisco July 7 San Francisco
Seattle August 8 Seattle
Sydney September 9 Sydney
Zurich October 10 Zurich
November 11
December 12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
returning_monthreturning_day airline
January 1 No Preference
February 2 Blue Skies Airlines
March 3 Unified Airlines
April 4 Pangea Airlines
May 5
June 6
July 7
August 8
September 9
October 10
November 11
December 12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name locator
passengers select[name='passCount']
departing_port select[name='fromPort']
departing_month select[name='fromMonth']
departing_day select[name='fromDay']
arriving_port select[name='toPort']
returning_month select[name='toMonth']
returning_day select[name='toDay']
airline select[name='airline']
passengers departing port departing month departing day arriving port
2 New York March 20 New York
2 New York April 20 Seattle
2 New York March 20 Seattle
returning monthreturning dayservice class airline
April 2 First class Unified Airlines
April 2 First class Unified Airlines
April 2 First class No Preference
flight name depart time stops price
Blue Skies Airlines 360 5:03 non-stop Price: $270
Blue Skies Airlines 361 7:10 non-stop Price: $271
Pangaea Airlines 362 9:17 non-stop Price: $274
Unified Airlines 363 11:24 non-stop Price: $281
first name last name credit card

abla 1.2E+008
alim
alim abla
alim abla 1.2E+008

Das könnte Ihnen auch gefallen