An automated test suite for the Sauce Demo e-commerce website, built to demonstrate core Selenium WebDriver skills for QA roles.
- Language: Java 11
- Automation: Selenium WebDriver 4
- Test Framework: TestNG
- Build Tool: Maven
- Design Pattern: Page Object Model (POM)
- Login with valid user, locked-out user, and invalid credentials
- Sorting products by name and price
- Adding items to the cart
- Completing the full checkout flow
- Verifying the order confirmation message
- Clone the repository
- Make sure Java 11+ and Maven are installed
- Run:
mvn test
src/test/java/com/saucedemo/
├── pages/ → Page Object classes (one per web page)
├── tests/ → TestNG test classes
└── utils/ → Reusable helpers (driver setup, etc.)