This project is a Selenium-based UI automation test suite for simulating and verifying a basic shopping flow on an e-commerce site. It performs a full end-to-end test scenario including search, product interaction, cart validation, user authentication, and shipping condition checks.
- 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, edit a file named
login.properties
in the following directory:src/test/resources/properties/login.properties
. -
Add your test data in the following format:
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-2.git](https://github.com/AlinaBugHunter/qa-automation-assignment-2.git)
cd qa-automation-assignment-2
./gradlew build
./gradlew test