This is a test automation task on Booking.com website (Reservation).
Clone the repo:
git clone https://github.com/el-sherbini/Booking-Automation-Testing.git
Install dependencies:
You need to install these dependencies from mvnrepository:
Selenium
Testng
Webdrivermanager
POI
Scenario:
- Open www.booking.com
- In search type the Location "Alexandria", select Check-in date "1 October 2023" and Checkout date "14 October 2023" (Excel Sheet (data provider)), and click Search
- From search results, pick "Tolip Hotel Alexandria" (it can be on the first or second page)
- Click on the See Availability button to go to the booking’s details page
- On the details page: Select the bed and amount and click I’ll reserve button to navigate to the confirmation page
- Java
- Selenium
- TestNG
- POM (Page Object Model)
- Apache POI (Data Driven Framework)