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

Software Testing (HMS)

This document contains test case descriptions for various functions of a hotel management system, including adding and updating employees, adding and updating rooms, the login function, generating reports, updating hotel information, adding and updating bookings, and checking in. Each test case lists prerequisites, steps to perform, and expected results.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Software Testing (HMS)

This document contains test case descriptions for various functions of a hotel management system, including adding and updating employees, adding and updating rooms, the login function, generating reports, updating hotel information, adding and updating bookings, and checking in. Each test case lists prerequisites, steps to perform, and expected results.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Test Case Name Add Employee Test Case Description

Created By Hammad Verion

S# Prerequisites:
1 User must have an account
2 Account must have manager priveliges
3

Step # Step Details Expected Results

1 Entered user already in databse System will display a message " User
already exists. Use update menu"

2 Enter numeric in names fields System will display a message "Fields


must be alphabets"

3 Enter non-numeric in CNIC field or Contact System will display a message "Fields
Field. must be numeric"

4 Leave any field empty and click Add button System will display a message "All fields
must be filled"

** These cells are filled after the software has been developed.

Test Case Name Update Employee Test Case Description

Created By Hammad Verion

S# Prerequisites:
1 User must have an account
2 Account must have manager priveliges
3

Step # Step Details Expected Results

1 Entered user already not in databse System will display a message " User does
not exists. Use Add menu"

2 Enter numeric in names fields System will display a message "Fields


must be alphabets"

3 Enter non-numeric in CNIC field or Contact System will display a message "Fields
Field. must be numeric"

4 Leave any field empty and click Add button System will display a message "All fields
must be filled"
Test Case Name Add Room Test Case Description
Created By Hammad Verion

S# Prerequisites:
1 User must have an account
2 Account must have manager priveliges
3

Step # Step Details Expected Results

1 Enter non-numeric in ID field or Cost field. System will display a message "Fields
must be numeric"

2 Leave any field empty and click Add button System will display a message "All fields
must be filled"

Test Case Name Login Test Case Description


Created By Bilal Pervez Verion

S# Prerequisites:
1 The user must be unauthenticated (not logged in)

Step # Step Details Expected Results

1 Enter invalid credentials in username and System will display a message "Invalid
password Credentials"
2 Leave any field empty and click Login System will display a message "All fields
must be filled"
3 Enter valid credentials in username and System will successfully authenticate and
password goto main screen

Test Case Name Generate Reports Test Case Description


Created By Bilal Pervez Verion

S# Prerequisites:
1 User must have an account
2 Account must have hotel owner priveliges
3

Step # Step Details Expected Results

1 Generate report with no data in database System will display a message "There is
not data available"
2 Enter invalid filter values (abc123) System will display a message "Please
input correct filters"
Test Case Name Update Hotel Information Test Case Description
Created By Bilal Pervez Verion

S# Prerequisites:
1 User must have an account
2 Account must have hotel owner priveliges
3

Step # Step Details Expected Results

1 Delete all fields and submit empty form System will display a message "Please
input valid fields"
2 Enter all values correctly and update System will update database and display a
information message "Sucessfully updated"
3 Enter invalid hotel name (abc123) System will display a message "Please
input correct values"

Test Case Name Update Room Test Case Description


Created By Ali Asar Khowaja Verion

S# Prerequisites:
1 User must have an account
2 Account must have employee priveliges to access functionality.
3

Step # Step Details Expected Results


1 Entered room id doesn't exists in database. System will display a message "Please
enter correct Id."
2 Enter non-numeric in ID field or Cost field. System will display a message "Fields
must be numeric"
3 Leave any field empty and click update System will display a message "All fields
button must be filled"
4 Non-empty and correct data entered. Press System will display a message "Room
update button. updated successfully."
5 Entered room id is correct. Auto-fill all fields from database for
corresponding room id.

Test Case Name Add Booking Test Case Description


Created By Ali Asar Khowaja Verion

S# Prerequisites:
1 User must have an account
2 Account must have employe priveliges
3

Step # Step Details Expected Results


1 Enter non-numeric in ID field or Cost field. System will display a message "Fields
must be numeric"
2 Leave any field empty and click Add button System will display a message "All fields
must be filled"
3 Non-empty and correct data entered. Press System will display a message "Booking
compute then add button. added successfully."
4 Data is filled but compute button not System will display a message "Compute
pressed. amount is not pressed"

Test Case Name Update Booking Test Case Description


Created By Ali Asar Khowaja Verion

S# Prerequisites:
1 User must have an account
2 Account must have employee priveliges to access functionality.
3

Step # Step Details Expected Results


1 Entered booking id doesn't exists in database. System will display a message "Please
enter correct Id."
2 Enter non-numeric in ID field. System will display a message "Fields
must be numeric"
3 Leave any field empty and click update System will display a message "All fields
button must be filled"
4 Non-empty and correct data entered. Press System will display a message "Booking
compute then add button. updated successfully."
5 Data is filled but compute button not System will display a message "Compute
pressed. amount is not pressed"
6 Entered booking id is correct. Auto-fill all fields from database for
corresponding booking id.

Test Case Name Check in Test Case Description


Created By Aleem Maknojia Verion

S# Prerequisites:
1 The user must have a valid booking ID

Step # Step Details Expected Results

1 Enter invalid credentials in Booking ID System will display a message "Invalid


Booking ID"
2 Leave any field empty and click Check in System will display a message "field must
be filled"
3 Enter valid credentials in Booking ID System will successfully check in and goto
main screen

Test Case Name Check out Test Case Description


Created By Aleem Maknojia Verion

S# Prerequisites:
1 The user must have a valid booking ID
Step # Step Details Expected Results

1 Enter invalid credentials in Booking ID System will display a message "Invalid


Booking ID"
2 Leave any field empty and click Check out System will display a message "field must
be filled"
3 Enter valid credentials in Booking ID System will successfully check out and
goto main screen

Test Case Name Request Service Test Case Description


Created By Aleem Maknojia Verion

S# Prerequisites:
1 The user must have a valid room ID

Step # Step Details Expected Results

1 Enter invalid credentials in Room ID System will display a message "Invalid


Room ID"
2 Leave any field empty and click Request System will display a message "field must
Service be filled"
3 Enter valid credentials in Booking ID System will successfully authenticate and
goto services list page
4 Select unavailable service and Click Confirm System will display a message "Service is
unavailable"
5 Select available service and Click Confirm System will successfully request for
service and goto main page

You might also like