This page has Test Cases for Hotel Booking System. The project work titled “Hotel Booking System” has been designed and developed using PHP where in many friendly from controls has been added. In order to make it, a user interactive application. The project has been subjected to testing and has been successful. Complete test cases attached in this page.
Test Cases for Hotel Booking System
- Customer Login:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If the Email_Id is empty | Email_Id | Email_Id should not be empty | SUCCESSFUL |
2. | If the password is empty | Password | Password should not be empty | SUCCESSFUL |
3. | If the entered password size is less than 8 | Password | Password should contain more than 8 character | SUCCESSFUL |
4. | If the entered Email_Id and password is not valid | Email_Id, Password | Entered Login credentials not valid | SUCCESSFUL |
5. | If Email_Id and password is valid | Email_Id, Password | Logged in successfully | SUCCESSFUL |
- Staff Login:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If the Email_Id is empty | Email_Id | Email_Id should not be empty | SUCCESSFUL |
2. | If the password is empty | Password | Password should not be empty | SUCCESSFUL |
3. | If the entered password size is less than 8 | Password | Password should contain more than 8 character | SUCCESSFUL |
4. | If the entered Email_Id and password is not valid | Email_Id, Password | Entered Login credentials not valid | SUCCESSFUL |
5. | If Email_Id and password is valid | Email_Id, Password | Logged in successfully | SUCCESSFUL |
- Admin Login:
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If the Login ID is empty | Login ID | Kindly enter Login ID | SUCCESSFUL |
2. | If the password is empty | Password | Kindly enter password | SUCCESSFUL |
3. | If the entered Login ID and password is not valid | Login ID, Password | You have entered invalid Login credentials | SUCCESSFUL |
4. | If the entered Login ID and password is valid | Login ID, Password | Logged in successfully | SUCCESSFUL |
- The Payment(Customer)
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If the payment type is empty | Payment Type | Kindly select the payment type | SUCCESSFUL |
2. | If Card holder name is empty | Card Holder | Card Holder name should not be empty | SUCCESSFUL |
3. | If the card number is empty | Card No | Kindly enter Card number | SUCCESSFUL |
4. | If the CVV number is empty | CVV No | CVV number should not be empty | SUCCESSFUL |
5. | If expiry date is not selected | Expiry Date | Expiry date should not be empty | SUCCESSFUL |
6. | If Card number is less than and greater than16 digits | Crad No | Kindly enter 16 digits Card number | SUCCESSFUL |
7. | If CVV number is less than or greater than 3 digits | CVV No | Kindly enter 3 digit CVV number | SUCCESSFUL |
8. | If entered all cradentials all correct | Payment done successfully | SUCCESSFUL |
- Hotel(Adding Hotel Details):
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If hotel location is empty. | Hotel Location | Hotel location should be selected.. | SUCCESSFUL |
2. | If Hotel name is empty. | Hotel Name | Enter the hotel name. | SUCCESSFUL |
3. | If Hotel type is empty. | Hotel Type | Kindly select hotel type | SUCCESSFUL |
4. | If address is not entered | Address | Enter the hotel address. | SUCCESSFUL |
5. | If Pincode is not entered | Pincode | Enter the pincode | SUCCESSFUL |
6. | If hotel map is not entered | Map | Enter the map address | SUCCESSFUL |
7. | If hotel policies is not entered | Hotel Policies | Enter the hotel policies. | SUCCESSFUL |
8. | If status is not selected | Status | Kindly select the status | SUCCESSFUL |
- Food(Add Food Category):
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If Food Category is not entered. | Food Category | Enter the food category | SUCCESSFUL |
2 | If note is not entered | Note | Enter the note | SUCCESSFUL |
3. | If status is not selected | Status | Kindly select the status | SUCCESSFUL |
- Food(Add Food Item):
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If Location is not selected | Location | Please select the location. | SUCCESSFUL |
2. | If Hotel name not selected | Hotel Name | Please select the hotel name. | SUCCESSFUL |
3. | If item name is not entered | Item Name | Enter the item name. | SUCCESSFUL |
4. | If item image is not uploaded. | Item image | Kindly select the item image. | SUCCESSFUL |
5. | If food category is not selected | Food Category | Please select the food category. | SUCCESSFUL |
6. | If cost is not enetered | Cost | Kindly enter the amount | SUCCESSFUL |
7. | If status not selected | Status | Kindly select the Status | SUCCESSFUL |
- Vehicle(Add Vehicle Details):
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If location is not selected | Location | Please select the location | SUCCESSFUL |
2. | If Hotel name is not selected | Hotel Name | Please select the hotel name | SUCCESSFUL |
3. | If Vehicle name is not entered | Vehicle | Enter the vehicle type/Name | SUCCESSFUL |
4. | If vehicle name is not entered | Vehicle Image | Upload the vehicle image | SUCCESSFUL |
5. | If kilometre cost is not entered | Kilometer Cost | – | SUCCESSFUL |
6. | If status is not selected. | Status | Kindly select the status | SUCCESSFUL |
- Users(Add Staff):
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If Name is not entered. | Name | Staff name should not be empty | SUCCESSFUL |
2. | If Staff type is not selected. | Staff Type | Kindly select the staff type | SUCCESSFUL |
3. | If login id is not entered. | Login Id | Login id should not be empty. | SUCCESSFUL |
5. | If password is not entered | Password | Password should not be empty. | SUCCESSFUL |
6. | If the new password is less than 8 characters. | Password | New password should contain more than 6 characters | SUCCESSFUL |
7. | If the confirm password and password does not match. | Password, Confirm password | Password and Confirm password are not matching | SUCCESSFUL |
8. | If status is not selected. | Status | Kindly select the status | SUCCESSFUL |
- Users(Change Password):
Serial No. | Condition To be Tested | Test Data | Expected Output | Remarks |
1. | If Existing password not enterd | Existing Password | Existing Password should not be empty | SUCCESSFUL |
2. | If new password not entered | New Password | New Password should not be empty | SUCCESSFUL |
3. | If confirm password not enterd | Confirm Password | Confirm Password should not be empty | SUCCESSFUL |
4. | If existing password is incorrect | Existing Password | Failed to change password | SUCCESSFUL |
5. | If new password is incorrect | New Password | Failed to change password | SUCCESSFUL |
6. | If confirm password is incorrect | Confirm Password | Failed to change password | SUCCESSFUL |
Download Complete Source code and Documentation
Note: Along with Test Cases for Hotel Booking System you will get Synopsis, SRS, System Design, Database design, Detailed design, Screenshots, Conclusion, Future scope, Complete source code and many more.
Leave a reply