This project is a simple Selenium-based automation script that performs the following:
- Logs into an e-commerce website using test credentials.
- Navigates to the "Your Orders" section through the "Customer Service" menu.
Designed for QA training and technical assignment demonstration.
- Java — Programming language used for writing tests.
- Gradle — Build automation tool used for managing project dependencies and running builds.
- TestNG — Testing framework used for organizing and running tests.
- Selenium WebDriver — Framework for automating web UI interactions.
- Page Object Model (POM) — Design pattern improving maintainability of UI tests.
- IntelliJ IDEA — IDE used for Java development.
-
Before running the test, create a file named
login.properties
in the following directory:src/test/resources/properties/login.properties
. -
Add your test data in the following format:
url=https://example.com pathToUsersChrome=/path/to/your/chrome/profile email=your_email@example.com password=your_password
Follow these steps to get the automation running on your local machine:
git clone [https://github.com/AlinaBugHunter/qa-automation-assignment.git](https://github.com/AlinaBugHunter/qa-automation-assignment.git)
cd qa-automation-assignment
./gradlew build
./gradlew test