Automated UI testing suite for Advantage Online Shopping, built with Java, Selenium WebDriver, TestNG, and ExtentReports. This project covers key user workflows such as registration, product filtering, cart operations, and purchase completion.
- User registration and login
- Product filtering and category navigation
- Add-to-cart from both category and home sections
- Cart item editing and deletion
- End-to-end purchase flow
- Validation of product details from "Popular Items"
- HTML test reporting with ExtentReports
- Language: Java
- Automation: Selenium WebDriver
- Test Framework: TestNG
- Build Tool: Maven
- Driver Management: WebDriverManager
- Reporting: ExtentReports (HTML format)
- CI/CD: GitHub Actions
project-root/
├── pom.xml # Maven dependencies
├── testng.xml # TestNG suite configuration
├── .gitignore # Version control filter
├── src/
│ ├── main/
│ │ └── java/
│ │ ├── pages/ # Page Object Model (POM) classes
│ │ └── utils/testdata/ # Shared test data classes (usernames, passwords, constants)
│ │
│ └── test/
│ └── java/
│ ├── setup/ # New folder for base classes, setup, hooks
│ ├── tests/ # Test classes
│ └── utils/reports/ # ExtentReports output (HTML)
- Java 17+
- Maven 3.9+
- Google Chrome browser
- Internet connection (for WebDriverManager to download drivers)
mvn testmvn -Dtest=EditAndDeleteItemsTest testℹ️ All tests run using Chrome only by default.
After test execution, a detailed HTML report is generated.
📁 Location:
src/test/java/utils/reports/UI_test_report.html
📖 To view:
- Open the file in your browser manually.
Ahmed
GitHub Profile
Mariam
GitHub Profile
Sherif
GitHub Profile
Mohamed Ali
GitHub Profile
Omar
GitHub Profile
Joman
GitHub Profile
Habeba
GitHub Profile
This project is licensed under the MIT License. See the LICENSE file for details.