Log into GoFly using user credentials
username: rom
password: 12345
On the navigation bar, click on hotels
Verify that the hotels listing are displayed with the hotel name, price, pictures etc.
Test 2: Booking Hotels
Log into GoFly using user credentials
username: rom
password: 12345
On the navigation bar, click on hotels and verify the hotels are displayed.
Click on the book now button and verify that it takes you to checkout, which contains the hotels name and price information and total.
Enter your name and a credit card number and click book securely.
Verify that it takes you to the mybooking page. Click on the hotels tab and verify the hotel you booked is there.
Test 3: Delete booking
Log into GoFly using user credentials
username: rom
password: 12345
On the navigation bar, click on my booking.
Click on the hotels' tab and verify that you have a hotel booking, if not then complete test 2.
Click cancel booking, and verify that the booking is no longer there.
Test 4: Error handling booking
Log into GoFly using user credentials
username: rom
password: 12345
On the navigation bar, click on hotels and verify the hotels are displayed.
Look for a hotel that you already booked. Click on the Book now button and verify that it takes you to check out, which contains the hotel's name, price information, and total.
Enter your name and a credit card number and click book securely.
Verify a message pops up saying you already booked this hotel.
Test 5: Viewing Details
Log into GoFly using user credentials
username: rom
password: 12345
On the navigation bar, click on hotel listing and verify the hotels are displayed.
Click on the view details button on one of the listenings.
Verify that the page shows pictures of the rooms and contains the hotel description, hotel rooms, amenities, prices, etc.
Verify that there is a book now button there as well. Click on it and verify that it takes you to the checkout page.
Tasks Tests
Test 1: View Hotel Listings
Test 2: Booking Hotels
Test 3: Delete booking
Test 4: Error handling booking
Test 5: Viewing Details