You are on page 1of 11

2/1/2017 Sample 

Test Cases for hotel room reservation | Knowledge House

Get All Type Of Knowledge Under One Roof

Sample Test Cases for hotel room reservation


 
U
s
e
C
a
s
Test Pre­
e Expected
Case Objective Requisite Test Conditions Data Functional Verification
R Result(s)
Ids s
ef
er
e
n
c
e

FR01 ­ Add Reservation
1.System
should
allow user
to enter
data in the
1.User can enter data in the form. 
fields of the 2. System
form.                                 should
                                        display
1. Add reservation
User:                           error
button is displayed
Receptio 2.Check if the mendatory message.  
Verify that in the main menu.
U nist / fields are               
user can                       
TC­ C Front empty.                                             
add 2. User invoked
01 0 Desk                                              
reservatio the reservation
1 manager 3. All fields are cleared when 3. System
n . form upon clicking
is loged clicked on clear button.  clear all
the reservation
in. 4. Form can be canceled any fields of
button.                
time by clicking on the the form. 
cancel button.   4. System
5. Upon clickin save button should
user can save reservation. cancel the
form. 
5. System
should
save the
form.

http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 1/11
2/1/2017 Sample Test Cases for hotel room reservation | Knowledge House

1.System
should
allow user
to enter
correct
date
only.        
Verify that User:               
1.Arrival date entered is in
system Receptio 1.Arrival Date is    
correct format.      
U should nist / entered by the   2.System
2. No. of nights is an integer
TC­ C calculate Front user.                    should
value. 
02 0 & display Desk 2.No. of nights are allow only
3.Calculated departure date
1 the manager entered by the integer
is displayed in the departure
departure is loged user.               value.      
date field.         .
date. in.             
3. System
should
calculate
departure
date and
display in
the correct
field.
1.System
User: should
Receptio display
Verify that 1.'Select' button is 1. Upon clicking 'select'
U nist / only
user can displayed to allow button it will invoke a list
TC­ C Front vacant
select an user to select an that only display available
03 0 Desk rooms
empty empty room from vacant rooms b/w arrival &
1 manager available
room. list'.          departure dates.
is loged b/w the
in. given
dates
1. System
should
User: generate
Verify that
Receptio 1. Unique id genetated when the unique
system
U nist / reservation is saved by id. 
generates
TC­ C Front 1. User has saved system.  2. System
a unique
04 0 Desk a reservation. 2. Unique id is displayed in shuld
id every
1 manager the reservation list with the display
reservatio
is loged reservation details. unique id
n.
in. with the
reservatio
n details.
Verify that
system
User:
must
Receptio
display a
U nist / 1. User has clicked 1. System
confirmati 1. Saving a successful
TC­ C Front on the save button should
on reservation system display a
05 0 Desk to save display
message confirmation message.
1 manager reservation. message.
upon
is loged
saving
in.
reservatio
n.
User:
Verify that Receptio 1. Reservation is
U System nist / 1. Upon saving reservation, 1. System
saved by the user. 
C updates Front existing reservation list should
2. Resevation list
http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 2/11
2/1/2017 Sample Test Cases for hotel room reservation | Knowledge House

TC­ 0 the Desk is invoked by the should display reservation update


06 1 existing manager user. information. list.
reservatio is loged
n list. in.

Verify that
User:
every field
Receptio 1. System
in the 1. Reservation
U nist / 1. All fields must only accept should
reservatio form is invoked by
TC­ C Front required input in the fields only allow
n form the user & is
07 0 Desk e,g, guest name field should correct
only displayed to the
1 manager only accept alphabet only. input in
accept the user.
is loged the fields.
respective
in.
input only.
             

FR02 ­ Update Reservation
1. System
should
display. 
2. System
should
allow user
1. Upon invoking the update to make
reservation interface, changes in
1. Reservation list
reservaton information is the fields. 
is displayed to the
displayed to the user.  3. System
Verify that User: user. 
2. User can make changes in should
user can Receptio 2. User selected a
U the fields.  clear. 
select a nist / reservation and
C 3. User can clear the update 4. System
TC­ reservatio Front clicked the 'UPD'
­ reservation interface.  should
08 n from Desk button to invoke
0 4. User cancels form any cancel
existing manager update reservation
2 time.  form. 
reservatio is loged interface.  
5. Upon clicking update 5. System
n list. in. 3. Reservation is
button information is Should
already entered in
updated.  update the
the system
6. Mandatory fields are must form. 
be filled. 6. System
should
check and
if empty
generate
error
message.
1.Unique id is
Verify that User:
already generated
sytem Receptio 1. System
U by the system 1. Upon updating reservation
save the nist / should
C against a system must save
TC­ changes Front update
­ reservation.  reservation against the
09 against Desk reservatio
0 2. Invoked existing reservation allotted
the same manager n against
2 reservation exists id by the system.
unique is loged same id.
in the system with
id.            in.
a unique id.
 Verify
that
System
has User: 1.Reservation must
U updated Receptio be added earlier
C the nist / into the

http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 3/11
2/1/2017 Sample Test Cases for hotel room reservation | Knowledge House

TC­ ­ existing Front system       1. System has updated the 1. System


10 0 reservatio Desk               2.Syste existing reseravation list Should 
2 n list manager m updates the when updaing the update the
when is loged editing reservaion. list.
updating in. reservation.
the
reservatio
n.

Verify that User:
1.System
System Receptio
U should not
allow the nist / 1. Existing 1. User selects >1
C allow user
TC­ user to Front Reservation list is reservations and invokes
­ to select >
11 edit one Desk dsplayed to the update reservation interface
0 1
reservatio manager user. by clicking 'UPD' button.
2 reservatio
n at a is loged
ns.
time. in.
Verify that
User:
every field
Receptio 1. System
in the
U nist / 1. Update 1. All fields must only accept should
reservatio
TC­ C Front reservation required input in the fields only allow
n form
12 0 Desk interface is e,g, guest name field should correct
only
2 manager invoked. only accept alphabet only. input in
accept the
is loged the fields.
respective
in.
input only.
Verify that
system
User:
must
Receptio
display a
U nist / 1. User has clicked 1. System
confirmati 1. Successfully updating
TC­ C Front on the update should
on reservation system display a
13 0 Desk button to update display
message confirmation message.
2 manager reservation. message.
upon
is loged
updating
in.
reservatio
n.
             

FR06 ­ Update In­House Reservation
1. System
should
display all
fields. 
2. System
should
check
mandatory
1. Guest has 1. All required fields are fields and
Verify that User: already checked­ displayed to the user.  display
system Receptio in.  2. User must fill the error if
U
allow user nist / 2. Reservation mandatory fields.  found
C
TC­ to update Front already exists in 3. User can clear or cancel empty. 
­
14 the fields Desk the system.     form.  3. System
0
in the manager 3. User selects a 4. While clicking on the should
3
reservatio is loged reservation from update button, system clear &
n form. in. existing updates the reservation cancel
reservation list. details. form. 
4. System
should
http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 4/11
2/1/2017 Sample Test Cases for hotel room reservation | Knowledge House

update
reservatio
n
informatio
n.
1.Unique id is
Verify that User:
already generated
sytem Receptio 1. System
U by the system 1. Upon updating reservation
save the nist / should
C against a system must save
TC­ changes Front update
­ reservation.  reservation against the
15 against Desk reservatio
0 2. Invoked existing reservation allotted
the same manager n against
3 reservation exists id by the system.
unique is loged same id.
in the system with
id.            in.
a unique id.
 Verify
that
System
has User:
1.Reservation must
updated Receptio
U be added earlier
the nist / 1. System has updated the 1. System
C into the
TC­ existing Front existing reseravation list Should 
­ system                
16 reservatio Desk when updaing the update the
0      2.System
n list manager reservaion. list.
3 updates the editing
when is loged
reservation.
updating in.
the
reservatio
n.
Verify that User:
1.System
System Receptio
U should not
allow the nist / 1. Existing 1. User selects >1
C allow user
TC­ user to Front Reservation list is reservations and invokes
­ to select >
17 edit one Desk dsplayed to the update reservation interface
0 1
reservatio manager user. by clicking 'UPD' button.
3 reservatio
n at a is loged
ns.
time. in.
Verify that
User:
every field
Receptio 1. System
U in the
nist / 1. Update 1. All fields must only accept should
C reservatio
TC­ Front reservation required input in the fields only allow
­ n form
18 Desk interface is e,g, guest name field should correct
0 only
manager invoked. only accept alphabet only. input in
3 accept the
is loged the fields.
respective
in.
input only.
Verify that
system
User:
must
Receptio
U display a
nist / 1. User has clicked 1. System
C confirmati 1. Successfully updating
TC­ Front on the update should
­ on reservation system display a
19 Desk button to update display
0 message confirmation message.
manager reservation. message.
3 upon
is loged
updating
in.
reservatio
n.
             

FR03 ­ Check ­ In

http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 5/11
2/1/2017 Sample Test Cases for hotel room reservation | Knowledge House

 Verify User: System


that user 1.Guest must have should
Receptio
U can invoke a invoke
nist /
C check ­ in reservation.          check ­ in
TC­ Front Invoke check­in interface by
­ interface              2.User interface
20 Desk clicking on button.
0 by clicking must click on CK­ by clicking
manager
7 'CK­IN' IN Button from 'CK­IN'
is loged
button main manue. button
in.
from main from main
menu. menu.
User: System
Verify that
Receptio 1.Guest must have should
U System
nist / a System
C display
TC­ Front reservation.          System display reservation display
­ reservatio
21 Desk              2.User information. reservatio
0 n
manager selects reservation n
7 informatio
is loged from list. informatio
n.
in. n.
1.System
should
allow user
Verify that can
System 1.Guest must have change
allow user a reservatio
can User: reservation.          n status
change Receptio            2.user from
U 1.user clicks on check­in
reservatio nist / clicks on check­in 'reserve'
C button to chang reservation
TC­ n status Front button to chang to 'check­
­ status.                            
22 from Desk reservation in' by
0 2.user clicks on cancel
'reserve' manager status.                  clicking
7 button
to 'check­ is loged            3.user check­in
in' by in. must click on button.     
clicking cancel button to     
check­in cancel changes. 2.system
button. allow user
to cancel
chanfes
any time.
User:
Verify that
Receptio 1.guest must have System
U System
nist / check­in should
C should
TC­ Front status.,                 user click on "print check­in allow user
­ allow user
23 Desk 2.user must click detail".` to print
0 to print
manager on print check­in check ­ in
7 check ­ in
is loged detail. details.
details.
in.
             

FR04 ­ Walk ­ In
. Verify
System
that
should
System User: display
should Receptio 1. There is no prior
U add
display nist / reservation for the
C reservatio
TC­ add Front guest.                 
­ user clik on "walk­in" button. n form
24 reservatio Desk                 2.user
0 when
n form manager must clik on "walk­
4 clicked on
when is loged in" button. the 'Wlk­
clicked on in. in' button.

http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 6/11
2/1/2017 Sample Test Cases for hotel room reservation | Knowledge House

the 'Wlk­
in' button.
 Verify System
that should
User:
System allow user
Receptio 1. There is no prior
U should to save
nist / reservation for the
C save the the
TC­ Front guest.                  User save reservation as
­ reservatio reservatio
25 Desk                 2.user walk­in guest
0 n status n status as
manager must clik on "walk­
4 as 'walk­ 'walk­in' in
is loged in" button.
in' in the the
in.
reservatio reservatio
n list. n list.
User:
Verify that
Receptio 1. There is no prior System
U System
nist / reservation for the should
C should
TC­ Front guest.                  user click on "print walk­in allow user
­ allow user
26 Desk                 2.user detail".` to print
0 to print
manager must click on print walk ­ in
4 walk ­ in
is loged walk­in detail. details.
details.
in.
             

FR05 ­ Check Out
. Verify
that System
User:
System should
Receptio
U should allow user
nist / 1.user must click
C allow user user click on "C OUT" Button to invoke
TC­ Front on "C OUT" Button
­ to invoke to invoke check­out check out
27 Desk to invoke check­
0 check out interface. interface
manager out interface.
8 interface by clicking
is loged
by clicking 'C OUT'
in.
'C OUT' button.
button.
Verify that
System
System
User: should
should
Receptio 1.user must enter allow user
U allow user
nist / guest to invoke
C to invoke
TC­ Front ID.                      Invoke Search guest search
­ search
28 Desk       2.User must reservation. reservatio
0 reservatio
manager click on search n guest  to
8 n guest  to
is loged reservation search
search
in. reservatio
reservatio
n.
n.
Verify that
System System
should User: should
allow user Receptio allow user
U
to change nist / 1.user must fill to change
C
TC­ reservatio Front check­in form  & user clicks on check­out reservatio
­
29 n status to Desk change status to status n status to
0
'check­ manager "check­out". 'check­out'
8
out' in is loged in main
main in. reservatio
reservatio n list.
n list.
             

http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 7/11
2/1/2017 Sample Test Cases for hotel room reservation | Knowledge House

FR07 ­ Add Guest
1.System
accept
only
acceptable
data
User: type         
Receptio               
U Test the 1.User enter data in to
nist /               
C input desired
TC­ Front 1­ Mandatory fields               
­ values for fields                                
30 Desk entered.               
0 adding a          2.Check if the
manager         
5 guest mandatory fields are missing
is logged 2.System
in. shall
respond/
popup if
mandatory
fields is
missing
1.System
accept
only
unique
ID           
    
User:
              
Receptio
U Test the 1.User enter guest               
nist /
C guest ID 1­ First Name and ID                                                   
TC­ Front
­ is unique Last Name already                                                       
31 Desk
0 for adding exists   2.Check is guest ID is a          2.S
manager
5 a guest mandatory fields ystem
is logged
shall
in.
respond/
popup if
guest ID is
mandatory
fields and
missing
1.System
accept
print
command
if all
mandatory
fields are
completed
User: then save
Test the Receptio the guest
U
guest nist / ID
C 1­ Add guest with
TC­ informatio Front 1.User click on print  & save informatio
­ mandatory fields. 
32 n can be Desk button n in to
0 2­ Print
save and manager system
5
print is logged data and
in. go to print
options
module,
else
prompt for
mandatory
fields

http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 8/11
2/1/2017 Sample Test Cases for hotel room reservation | Knowledge House

User:
U Test the Receptio
1.System
C guest nist /
TC­ 1­ Add multiple close the
­ informatio Front 1.User click on cancel button
33 guests. add guest
0 n can be Desk
manager window
5 discard
is logged
in.
             
FR08 ­ Update Guest
1.System
accept
only
acceptable
User: data type,
Test the
Receptio and
U search of
nist / display the
C guest to 1.User enter guest ID in to
TC­ Front 1­ Mandatory fields guest
­ edit a desired fields for searching
34 Desk entered. informatio
0 guest guest information
manager n if
6 informatio
is logged available,
n
in. else
prompt
that guest
id is not in
the record
System
accept
only
Test the acceptable
display is User: data type,
according Receptio and
U
to the nist / User enter guest ID in to display the
C 1­ First Name and
TC­ search of Front desired fields for searching guest
­ Last Name already
35 guest to Desk guest information and click informatio
0 exists
edit a manager on search. n if
6
guest is logged available,
informatio in. else
n prompt
that guest
id is not in
the record
1.System
accept
only
acceptable
data
User: 1.User click on edit on type         
Receptio searched guest and re­enter               
U Test the
nist / data in to desired               
C input 1­ Add guest with
TC­ Front fields                         
­ values for mandatory fields. 
36 Desk                                               
0 editing a 2­ Print
manager                                     2. 2.System
6 guest
is logged Check if the mandatory fields shall
in. are missing respond/
popup if
mandatory
fields is
missing

http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 9/11
2/1/2017 Sample Test Cases for hotel room reservation | Knowledge House

1.System
accept
save
command
if all
mandatory
fields are
completed
then save
the guest
ID
User: informatio
Test the Receptio n in to
U 1.User click on save
values nist / system
C button                               
TC­ saved Front 1­ Add multiple data and
­                                 
37 after Desk guests. go to print
0 2.Check if the mandatory
editing a manager options
6 fields are missing
guest is logged module,
in. else
prompt for
mandatory
fields       
              
           
          2.S
ystem
shall
respond/
popup if
mandatory
fields is
missing
System
accept
print
command
if all
mandatory
fields are
User: completed
Receptio then save
U Test the
nist / the guest
C guest
TC­ Front Test the guest information ID
­ informatio none
38 Desk can be print informatio
0 n can be
manager n in to
6 print
is logged system
in. data and
go to print
options
module,
else
prompt for
mandatory
fields
User:
Receptio
U Test the nist / System
TC­ C guest Front none User click on cancel button close the
39 ­ informatio Desk add guest
manager window

http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 10/11
2/1/2017 Sample Test Cases for hotel room reservation | Knowledge House

0 n can be is logged
6 discard in.

 
 
 
Please share your feedback on these sample test cases
 

http://infosharehouse.blogspot.com/2015/11/sample­test­cases­for­hotel­room.html 11/11

You might also like