You are on page 1of 15

Copyrighted Material Sample Test cases for Adactin Hotel Application

Sample Test Cases for Automation for Adactin Hotel


Application
TESTCA OBJECTI STEPS TEST DATA EXPECTED
SE ID VE RESULTS

TC- To 1. Launch hotel URL: http://adactinhotelapp.com/ User


101 verify reservation User:{test should
valid application using username} login to
login URL as in test Password:{test password} the
data. applicati
details
2. Login to the on.
application using
username and
password as in
test data.

TC - To verify 1. Launch hotel URL: System


102 whether reservation http://adactinhotelapp.com/ should
the application User:{test report an
check-out using URL as username}
error
date field in test data. Password:{test
2. Login to the message.
accepts a password} Location: Sydney Hotel: hotel
application
later date creek Room type:
using
than username standard
check-in and No-of-rooms:1
date. password Check-in-date:
as in test today + 7 date
data.
3. Select Checkout date:today+5 date
location as
in test data.
4. Select hotel
as in test
data.
5. Select room
type as in test
data.
6. Select no-of-
rooms as in
test data.
7. Enter check-in-
date later than
the check-out-
date field as in
test data.
Verify that system
gives an error
saying ‘check-in-
date should not be
later than check-
out-date’
TC-103 To check 1. Launch URL:

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

if error is hotel http://adactinhotelapp.com/http://adactinhote System


date field reservation lapp.com/ should report
is in the application User:{test username} Password:{test an error
past 2. Login to password} Location: Sydney Hotel: Hotel
the
Creek Room type:
application
using standard
Username No-of-rooms:1
and Check-in-date:
password today’s -5 date
as in test
Checkout date:
data
today’s -3 date
3. Select
location as
in test data.
4. Select hotel
as in test
data.
5. Select room
type as in test
data.
6. Select no-of-
rooms as in
test data.
7. Enter check-
out-date as
in test data.
Verify that
application
throws
error
message
TC-104 To verify 1. Launch URL: Location
whether hotel http://adactinhotelapp.com/ displayed
locations reservation User:{test in Select
in Select application username} Hotel
Hotel using URL Password:{test should be
page are as in test password} Location: Sydney Hotel: hotel the same
data. as
displayed Creek Room type:
2. Login to the location
according standard
application selected
to the using No-of-rooms:1 in search
location username Check-in-date: hotel
selected and today’s date form.
in Search password
Hotel as in test Checkoutdate:tod ay+1 date
data. No-of-adults:1 No-of-children: 0
3. Select
location as
in test data.
4. Select
hotel as
in test
data.
5. Select room
type as in

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

test data.
6. Select no-
of-rooms
as in test
data.
7. Enter check-
out-date as
in test data.
8. Select No-
of-adults as
in test data.
9. Select No-of-
children as in
test data.
10. Click on
Search
button.
11. Verify that
hotel
displayed is
the same as
selected in
search Hotel
form.

TC-105 To verify 1. La URL: http://adactinhotelapp.com/ Check-in-


date and unch hotel User:{test username} Password:{test date
Check URL as in password} Location: Sydney Hotel: hotel displayed
Out test data. Creek Room type: standard No-of-rooms:1 according to
date are Check-in-date: today’s date the data
being 2. Login to the Checkoutdate:tod ay+1 date entered in
displayed application No-of-adults:1 search hotel
in using No-of-children:0 form
Select username
Hotel and
Page password as
according in test data.
to 3. Select
the dates location as in
selected test data.
in 4. Select
search hotel as in
Hotel. test data.
5. Select room
type as in test
data.
6. Select no-of-
rooms as in
test data.
7. Enter check-
out-date as in
test data.
8. Select No-of-
adults as in
test data.

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

9. Select No-of-
children as in
test data.
10. Click on
Search
button.
11. Verify that
check-in-date
and check-out-
dates are the
same as
selected in
search hotel
form.
TC-106 To verify 1. Launch hotel URL: http://adactinhotelapp.com/ No-of-rooms
whether reservation User:{test Username} number of
no. of application Password:{test password} rooms in
rooms using URL as Location: Sydney Hotel: hotel Creek Room search hotel
entry in in test data. type standard No-of-rooms:3 Check-in-date: page
Select 2. Login to the today’s date Checkoutdate:tod ay+1 date
Hotel application No-of-adults:1 No-of-children: 0
page is using
same as username
the and
Number password as
of rooms in test data.
selected 3. Select
in search location as in
hotel test data.
page 4. Select
hotel as in
test data.
5. Select room
type as in test
data.
6. Select no-of-
rooms as in
test data.
7. Enter check-
out-date as in
test data.
8. Select No-of-
adults as in
test data.
Select No-of-
children
9. Select No-of-
children as in
test data.
10. Click on search
button
11. Verify that no.
of rooms
reflected

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

according to
the no. of
rooms selected
in search hotel
page

TC-107 To verify 1. Launch hotel URL: http://adactinhotelapp.com/ Room


whether reservation User:{test type
Room application username} displayed
Type in using URL as Password:{test should be
Select in test data. password} Location: Sydney Hotel: hotel the same
Hotel 2. Login to the as
Creek Room type:
page is application selected
same as using Deluxe in search
Room username No-of-rooms:1 hotel
type and Check-in-date: page
selected password as today’s date
in search in test data.
3. Select Checkoutdate:tod ay+1 date
hotel
location as in No-of-adults:1 No-of-children:0
page
test data.
4. Select
hotel as in
test data.
5. Select room
type as in test
data.
6. Select no-of-
rooms as in
test data.
7. Enter check-
out-date as in
test data.
8. Select No-of-
adults as in
test data.
9. Select No-of-
children as in
test data.
10. Click on
Search
button.
11. Verify that
room type
reflected is the
same as
selected in
search hotel
page.

TC-108 To verify 1. Launch hotel URL: http://adactinhotelapp.com/ Total price


whether reservation User:{test username} should be
the total application Password:{test password} calculated as
price using URL as Location: Sydney Hotel: hotel Creek price per

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

(excl.GST in test data. nights = no.


) is 2. Login to the of nights * no.
calculate application of rooms
d as using
“price per username and
night * password as
no. of in test data.
nights* no 3. Select location
of as in test data.
rooms”. 4. Select hotel as
in test data
5. Select room-
type as in test
data
6. Select no of
rooms as in
test data
7. Enter check
out date as in
test data
8. Select no of
adults as in
test data
9. Select no. of
children as in
test data
10. Click on search
button
11. Select the
hotel and click
on continue
button
12. Verify the total
price(excl
GST) is being
calculated as
(price-per-
night*no-of-
rooms*no-of-
days)

TC-109 To verify 1. Launch hotel URL: http://adactinhotelapp.com/ User should


when reservation User:{test username} be able to
pressed, application Password:{test password} logout from
logout using URL as Location: Sydney the
button in test data. Hotel: hotel Creek application
2. Login to the Room type: Standard
logs out
application No-of-rooms:2
from the using Check-in-date: today’s date
applicatio username Checkoutdate:tod ay+1 date
n. and No-of-adults:1

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

password as No-of-children:0
in test data.
3. Select
location as in
test data.
4. Select
hotel as in
test data.
5. Select room
type as in test
data.
6. Select no-of-
rooms as in
test data.
7. Enter check-
out-date as in
test data.
8. Select No-of-
adults as in
test data.
9. Select No-of-
children as in
test data.
10. Click on
Search
button.
11. Select the
hotel and
click on
continue
button
12. Enter he
details
and click
on book
now
13. Check
the
details,
click on
logout
and verify
if we
have
logged
out from
the
applicatio
n
TC-110 To check 1. Launch hotel URL: Total-price
correct reservation http://adactinhotelapp.com/ should be
total price application as in User:{test calculated
is Being URL test data username} as (price-
Calculate 2. Login to the Password:{test password} per-
d as application using night*no-
Location:
“price per username and

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

night*no password as in test Melbourne of-


of data Hotel: hotel Creek rooms*no-
days*no 3. Select location of-days
Room type:
of rooms as in test data. Total Price=
standard
in Book a 4. Select hotel as 125*2*1 =
hotel in test data. No-of-rooms:2
Page 5. Select room type 250$
Check-in-date:
as in test data. today’s date In book a
6. Select no-of- Checkoutdate:tod ay+1 date hotel page
rooms as in test
No-of-adults:1 No-of-children:0
data.
7. Enter check-out-
date as in test
data.
8. Select No-of-
adults as in test
data.
9. Select No-of-
children as in test
data.
10. Click on
Search button.
11. Select the hotel
and click on
continue button
12. Verify that
total-price is being
calculated as
(price-per-
night*no-of-
rooms*no-of-days
+10% GST”)
TC-111 To check 1. Launch hotel URL: Data should
Hotel reservation http://adactinhotelapp.com/ be same as
name, application using User:{test selected in
Location, URL as in test username} previous
room data. Password:{test
screen
type, 2. Login to the password} Location: Sydney Hotel: hotel
Total application using Creek Room type:
Day, username and
price per password as in standard
test data. No-of-rooms:2
3. Select Check-in-date:
location as in today’s date
test data. Checkoutdate:tod ay+1 date
4. Select
No-of-adults:1 No-of-children:0
Hotel as in
test data.
5. Select room
type as in test
data.
6. Select no-of-
rooms as in
test data.
7. Enter check-
out-date as in

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

test data.
8. Select No-of-
adults as in
test data.
9. Select No-of-
children as in
test data.
10. Click on
Search
button.
11. Select the
hotel and click
on continue
button
12. Verify that
total-price is
being
calculated as
(price-per-
night*no-of-
rooms*no-of-
days

TC-112 To check 1. Launch hotel URL: http://adactinhotelapp.com/


http://adactinhotelapp.com/ Final billed
correct reservation User:{test Price=125+1
Final application username} 2.5 =137.5 in
billed using URL as Password:{test Book a Hotel
price is in test data. password} Location: Sydney Hotel: hotel page
Total 2. Login to the
Creek Room type:
Price + application
10% using standard
Total username No-of-rooms:2
price in and Check-in-date:
Book a password as today’s date
Hotel in test data.
3. Select location Checkoutdate:tod ay+1 date
page
as in test data. No-of-adults:1 No-of-children:0
Select Hotel
as in test data.
4. Select room
type as in test
data.
5. Select no-of-
rooms as in
test data.
6. Enter check-
out-date as in
test data.
7. Select No-of-
adults as in
test data.
8. Select No-of-
children as in
test data.

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

9. Click on
Search
button.
10. Select the
hotel and
click on
continue
button
11. Verify that
total-price is
being
calculated as
(price-per-
night*no-of-
rooms*no-of-
days

TC-113 To verify 1. Launch hotel URL: http://adactinhotelapp.com/ Hotel:


whether reservation User:{test hotel
the data application username} Creek
displayed using URL as Password:{test Room type:
in test data. password} Location: Sydney Hotel: hotel
is same Standard
2. Login to the
as the Creek Room type: No-of-
application
selected using standard rooms:2
data in username No-of-rooms:2 Check-in-
Book and date:27/07/20
Check-in-date:
hotel password as today’s date 12
page in test data.
3. Select Checkoutdate:tod ay+1 date Checkoutdate
location as in No-of-adults:1 No-of-children: 0 :2
test data. 8/07/2012
4. Select No-of-
Hotel as in adults:1 No-
test data. of-children:
5. Select room
0
type as in test
data.
6. Select no-of-
rooms as in
test data.
7. Enter check-
out-date as in
test data.
8. Select No-of-
adults as in
test data.
9. Select No-of-
children as in
test data.
10. Click on
Search
button.
11. Select the

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

hotel and
click on
continue
button
12. Verify that
total-price is
being
calculated as
(price-per-
night*no-of-
rooms*no-of-
days
TC-114 Verify 1. Launch hotel URL: ORDER
Order reservation http://adactinhotelapp.com/ no
number is application using User:{test should
generate URL as in test username}
be
d in data. Password:{test
2. Login to the generatd
booking
confirmati application using
on page username and
password as in
test data
3. Select location
as in test data.
4. Select hotel
as in test data.
5. Select room
type as in test
data.
6. Select no-of-
rooms as in test
data.
7. Enter check-out-
date as in test
data.
8. Select No-of-
adults as in test
data.
9. Select No-of-
children as in test
data.
10. Click on
Search
button.
11. Select the
hotel and click on
continue button
12. Verify that
total-price is being
calculated as
(price-per-
night*no-of-
rooms*no-of-days

TC-115 To verify 1. Launch hotel http://adactinhotelapp.com/ User should


reservation User:{test username} not be able to

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

whether application Password:{test password} edit the


the using URL as Location: Adelaide booked
booked in test data. Hotel: hotel Cornice itinerary
itinerary 2. Login to the Room type: standard
details application No-of-rooms:2
using Check-in-date: today’s date
are not
username Checkoutdate:tod ay+1 date
editable. and No-of-adults:1
password as No-of-children: 0
in test data.
3. Select
location as in
test data.
4. Select
Hotel as in
test data.
5. Select room
type as in test
data.
6. Select no-of-
rooms as in
test data.
7. Enter check-
out-date as in
test data.
8. Select No-of-
adults as in
test data.
9. Select No-of-
children as in
test data.
10. Click on
Search button
11. Click on
Search
button. Select
the hotel and
click on
continue
button
12. Fill the form
and click on
Book now
button.
13. Click on My
itinerary
button
14. Verify that the
details are not
editable
TC-116 To check 1. Launch hotel http://adactinhotelapp.com/ information in
whether reservation User:{test username} line with the
the application Password:{test password} booking
booked using URL as Location: Sydney
itinerary in test data. Hotel: hotel Creek

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

reflects 2. Login to the Room type: Standard


the application No-of-rooms:2
correct using Check-in-date: today’s date
informatio username Checkoutdate:tod ay+1 date
n in line and No-of-adults:1
with the password as No-of-children: 0
in test data.
booking.
3. Select
location as in
test data.
4. Select
hotel as in
test data.
5. Select room
type as in test
data.
6. Select no-of-
rooms as in
test data.
7. Enter check-
out-date as in
test data.
8. Select No-of-
adults as in
test data.
9. Select No-of-
children as in
test data.
10. Click on
Search
button.
11. Select the
hotel and click
on continue
button
12. Fill the form
and click on
Book now
button.
13. Click on My
itinerary
button
14. Verify that the
details are
reflected
correctly as per
the booking
TC-117 To check 1. Launch http://adactinhotelapp.com/ display the
whether application using User:{test relevant
search as in test data username} details for
order id” 2. Login to the Password:{test password} Order ID
query is application using
working username and
and password as in Order id :pick existing order id
displaying test data.

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

the 3. Click on
relevant booked
details itinerary button.
4. Enter the order
id.
5. Verify that the
relevant details
are displayed

TC-118 Verify 1. Launch hotel http://adactinhotelapp.com/ same as


all the reservation User:{test username} those entered
details application Password:{test password} during
of newly using URL as Location: Sydney booking
generat in test data. Hotel: hotel Creek
ed order 2. Login to the Room type: Standard
application No-of-rooms:2
number
using Check-in-date: today’s date
in
username Checkoutdate:tod ay+1 date
booked and password No-of-adults:1
itinerary as in test No-of-children: 0
page data.
are 3. Book an order
correct as in previous
and test cases
match 4. Click on
with booked
data itinerary
during button
booking. 5. Search for
Order
number
6. Verify all the
details of order
number are
correct as
entered during
saving order
TC-119 To verify 1. Launch hotel http://adactinhotelapp.com/ present in
that the reservation User:{test username} booked
order application Password:{test password} itinerary page
gets using URL as after
cancelled in test data. cancellation
2. Login to the
after click
application
on using
Cancel username
order and password
number as in test
link data.
3. Book the Hotel
as in previous
test cases.
Keep a note of
order number

www.adactin.com
Copyrighted Material Sample Test cases for Adactin Hotel Application

generated
4. Click on Booked
Itinerary
5. Search for order
number booked
6. Click on
Cancel<Order
Number>
7. Click Yes on
pop-up which asks
where to cancel
order or not
8. Verify that order
number is
cancelled and now
longer exists in
Booked Itinerary
page
TC-120 To verify 1. Launch the URL http://adactinhotelapp.com/ Title of each
Title of as in test data User:{test username} page should
every 2. Login to the Password:{test password} reflect its
Page application using objective and
reflects username and the buttons
what the password as in test should
page data. redirect as
objective 3. Verify that title of specified, to
is. For each page is the the relevant
example same as the page page.
Title of objective
Search 4. Click on Search
Hotel hotel option and
page verify whether
should application directs
have to search hotel
“Search form
Hotel” 5. Click on booked
itinerary button and
verify that
application directs
to booked itinerary
form

www.adactin.com

You might also like