Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Test Cases for Hotel Booking System

Test Cases for Hotel Booking System

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 TestedTest DataExpected OutputRemarks
1.If the Email_Id is empty   Email_IdEmail_Id should not be emptySUCCESSFUL
2.If the password is emptyPasswordPassword should not be emptySUCCESSFUL
3.If the entered password size is less than 8PasswordPassword should contain more than 8 characterSUCCESSFUL
4.      If the entered Email_Id and password is not valid  Email_Id, Password  Entered Login credentials not validSUCCESSFUL
5.If Email_Id and password is validEmail_Id, Password  Logged in successfullySUCCESSFUL
  • Staff  Login:
Serial No.Condition To be TestedTest DataExpected OutputRemarks
1.If the Email_Id is empty   Email_IdEmail_Id should not be emptySUCCESSFUL
2.If the password is emptyPasswordPassword should not be emptySUCCESSFUL
3.If the entered password size is less than 8PasswordPassword should contain more than 8 characterSUCCESSFUL
4.      If the entered Email_Id and password is not valid  Email_Id, Password  Entered Login credentials not validSUCCESSFUL
5.If Email_Id and password is validEmail_Id, Password  Logged in successfullySUCCESSFUL
  • Admin Login:
Serial No.Condition To be TestedTest DataExpected OutputRemarks
1.If the Login ID is emptyLogin IDKindly enter Login IDSUCCESSFUL
2.If the password is emptyPasswordKindly enter passwordSUCCESSFUL
3.      If the entered Login ID and password is not valid  Login ID, Password  You have entered invalid Login credentialsSUCCESSFUL
4.If the entered Login ID and password is validLogin ID, Password  Logged in successfullySUCCESSFUL
  • The Payment(Customer)
Serial No.Condition To be TestedTest DataExpected OutputRemarks
1.If the payment type is emptyPayment TypeKindly select the payment typeSUCCESSFUL
2.If Card holder name is emptyCard HolderCard Holder name should not be emptySUCCESSFUL
3.If the card number is emptyCard NoKindly enter Card numberSUCCESSFUL
4.If the CVV number is emptyCVV NoCVV number should not be emptySUCCESSFUL
5.If expiry date is not selectedExpiry DateExpiry date should not be emptySUCCESSFUL
6.If Card number is less than and greater than16 digitsCrad NoKindly enter 16 digits Card numberSUCCESSFUL
7.If CVV number is less than or greater than 3 digitsCVV NoKindly enter 3 digit CVV numberSUCCESSFUL
8.If entered all cradentials all correct Payment done successfullySUCCESSFUL
  • Hotel(Adding Hotel Details):
Serial No.Condition To be TestedTest DataExpected OutputRemarks
1.If hotel location is empty.Hotel LocationHotel location should be selected..SUCCESSFUL
2.  If Hotel name is empty.Hotel NameEnter the  hotel name.SUCCESSFUL
3.If Hotel type is empty.Hotel TypeKindly select hotel typeSUCCESSFUL
4.If address is not enteredAddressEnter the hotel address.SUCCESSFUL
5.If Pincode is not enteredPincodeEnter the pincodeSUCCESSFUL
6.If hotel map is not enteredMapEnter the map addressSUCCESSFUL
   7.If hotel policies is not enteredHotel PoliciesEnter the hotel policies.SUCCESSFUL
8.If status is not selectedStatusKindly select the statusSUCCESSFUL
  • Food(Add Food Category):
Serial No.Condition To be TestedTest DataExpected OutputRemarks
1.If Food Category is not entered.Food CategoryEnter the food categorySUCCESSFUL
2If note is not enteredNoteEnter the noteSUCCESSFUL
3.If status is not selectedStatusKindly select the statusSUCCESSFUL
  • Food(Add Food Item):
Serial No.Condition To be TestedTest DataExpected OutputRemarks
1.If Location is  not selectedLocationPlease select the location.SUCCESSFUL
2.If Hotel name not selectedHotel NamePlease select the hotel name.SUCCESSFUL
3.If item name is not enteredItem NameEnter the item name.SUCCESSFUL
4.    If item image is not uploaded.Item imageKindly select the item image.SUCCESSFUL
5.If food category is not selectedFood CategoryPlease select the food category.SUCCESSFUL
6.If cost is not eneteredCostKindly enter the amountSUCCESSFUL
7.If status not selectedStatusKindly select the StatusSUCCESSFUL
  • Vehicle(Add Vehicle Details):
Serial No.Condition To be TestedTest DataExpected OutputRemarks
1.If location is not selectedLocationPlease select the locationSUCCESSFUL
2.If Hotel name is not selectedHotel NamePlease select the hotel nameSUCCESSFUL
3.    If Vehicle name is not enteredVehicleEnter the vehicle type/NameSUCCESSFUL
4.    If vehicle name is not enteredVehicle ImageUpload the vehicle imageSUCCESSFUL
5.If kilometre cost is not enteredKilometer CostSUCCESSFUL
6.If status is not selected.StatusKindly select the statusSUCCESSFUL
  • Users(Add Staff):
Serial No.Condition To be TestedTest DataExpected OutputRemarks
1.If Name is not entered.NameStaff name should not be emptySUCCESSFUL
2.  If Staff type is not selected.Staff TypeKindly select the staff typeSUCCESSFUL
3.If login id is not entered.Login IdLogin id should not be empty.SUCCESSFUL
5.If password is not enteredPasswordPassword should not be empty.SUCCESSFUL
6.If the new password is less than 8 characters.    PasswordNew password should contain more than 6 charactersSUCCESSFUL
7.If the confirm password and password does not match.Password, Confirm passwordPassword and Confirm password are not matchingSUCCESSFUL
8.If status is not selected.StatusKindly select the statusSUCCESSFUL
  • Users(Change Password):
Serial No.Condition To be TestedTest DataExpected OutputRemarks
1.If Existing password not enterdExisting PasswordExisting Password should not be emptySUCCESSFUL
2.  If new password not enteredNew PasswordNew Password should not be emptySUCCESSFUL
3.If confirm password not enterdConfirm PasswordConfirm Password should not be emptySUCCESSFUL
4.If existing password is incorrectExisting PasswordFailed to change passwordSUCCESSFUL
5.If new password is incorrectNew PasswordFailed to change passwordSUCCESSFUL
6.If confirm password is incorrectConfirm PasswordFailed to change passwordSUCCESSFUL

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

About StudentProjects.Live

A collection of source codes that I wrote in Android, ASP.NET, PHP, C#.NET, VB.NET and JAVA in a course of my career as web developer and software engineer that I would like to share to my fellow programmers. Some of the codes here is not my original work that I found over the Internet and Books while I'm learning how to program. I hope you find my work useful in your learning in programming. Please share my work to other people also who interested to learn the basics of web development and programming. Thank you very much and Happy Productive Programming Everyone.

Follow Me