This repository contains automated test scripts for the website automationintesting.online. The tasks are designed to cover various scenarios and functionalities of the website.
Visit the website automationintesting.online and reserve a room for the upcoming month. Ensure that the booking period starts on the first Monday of the month and lasts for four consecutive days. If any of those days are unavailable, the booking period will be postponed to the following month. Verify the successful creation of the reservation.
Log in to the admin portal at https://automationintesting.online/#/admin/ using the credentials (admin / password). Add a double room to the system with amenities such as refreshments, a TV, and a safe. Update both the room's description and image after adding it to the system.
- Open a browser and navigate to https://automationintesting.online/.
- Complete the Contact Us form.
- Log into the admin panel found at Restful-booker-platform demo.
- Access the created message in Restful-booker-platform demo.
- Assert that the contents of the message match the details filled in the Contact Us form.
- Open a browser and navigate to https://automationintesting.online/.
- Take a screenshot of the Map section on the homepage.
- Create a test report.
- Confirm in the test report that the screenshot is correct.
- Rerun the test to confirm that it now passes.
Before running the tests, ensure you have the following prerequisites installed and set up:
-
Clone Repository:
- Clone this repository to your local machine:
git clone https://github.com/your-username/automation-testing-tasks.git
- Clone this repository to your local machine:
-
IntelliJ IDEA:
- Install IntelliJ IDEA.
-
Java:
- Ensure you have the latest version of Java JDK installed.
- Go to the official Oracle JDK download page at Oracle JDK Downloads: https://www.oracle.com/java/technologies/downloads/
-
Selenium and Dependencies:
- Make sure you have Selenium installed with the dependencies specified in the
pom.xmlfile. If not, resolve dependencies using Maven:mvn clean install
- Make sure you have Selenium installed with the dependencies specified in the
- Execute each test script for the corresponding task.
If you encounter any issues or have suggestions, please contact iacobclaudiu1998@gmail.com.
Happy Testing!