Comprehensive testing framework for the Swag Labs e-commerce platform, combining manual and automated testing with 200+ test cases to validate core functionalities including authentication, product browsing, cart management, and checkout processes.
- User Stories & Test Plan
- Test Cases Creation & Execution
- Bug Reports & Test Summary
Built with Java, Selenium WebDriver, TestNG, and Maven.
| Category | Tools |
|---|---|
| Manual Testing | Google Sheets |
| Automation | Java, Selenium WebDriver, TestNG, Maven |
| IDE | IntelliJ IDEA |
| Browser | Chrome (ChromeDriver) |
- Java 17+
- Maven 3.9+
- Google Chrome browser
- Internet connection (for WebDriverManager)
# Clone repository
git clone https://github.com/MRagab22/Swag_Labs_Project.git
cd Swag_Labs_Project
# Install dependencies
mvn clean install
# Run tests
mvn testOr right-click any test class in IntelliJ โ Run
Swag_Labs/
โโโ .idea/
โโโ .mvn/
โโโ src/
โ โโโ main/java/
โ โโโ test/java/tests/
โ โโโ LoginTests.java
โ โโโ HomeTests.java
โ โโโ ProductDetailTests.java
โ โโโ ProductDetailTests_2.java
โ โโโ CartTests.java
โ โโโ SidebarTests.java
โ โโโ CheckoutTests.java
โ โโโ IntegrationTests.java
โ โโโ EndToEndTests.java
โ โโโ SystemTests.java
โโโ target/
โโโ .gitignore
โโโ pom.xml
- User Stories: Feature requirements and acceptance criteria
- Test Plan: Testing strategy and scope
- Test Cases: Detailed test scenarios with expected results
- Execution: Systematic test runs and result documentation
- Bug Reports: Defect identification and tracking
- Summary: Quality metrics and recommendations
- LoginTests: Authentication validation
- HomeTests: Product listing and sorting
- CartTests: Cart operations and verification
- CheckoutTests: Complete checkout flow
- ProductDetailTests: Product information checks
- SidebarTests: Navigation and logout
- Integration/EndToEnd: Full user journeys
- SystemTests: Regression validation
- Page Object Model (POM) implementation
- Allure/Extent Reports for better visualization
- Data-driven testing (Excel/CSV/JSON)
- Cross-browser testing via Selenium Grid
- CI/CD integration (GitHub Actions/Jenkins)
๐ง Demonstrates complete testing approach combining manual documentation with Selenium automation using Java, TestNG, and Maven.