Skip to content

MRagab22/Swag_Labs_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

19 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Swag Labs Project

๐Ÿงพ Description

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.


๐ŸŽฏ Project Scope

๐Ÿ“‹ Manual Testing

  • User Stories & Test Plan
  • Test Cases Creation & Execution
  • Bug Reports & Test Summary

๐Ÿค– Automated Testing

Built with Java, Selenium WebDriver, TestNG, and Maven.


๐Ÿงฐ Tools & Technologies

Category Tools
Manual Testing Google Sheets
Automation Java, Selenium WebDriver, TestNG, Maven
IDE IntelliJ IDEA
Browser Chrome (ChromeDriver)

โš™๏ธ Prerequisites

  • Java 17+
  • Maven 3.9+
  • Google Chrome browser
  • Internet connection (for WebDriverManager)

๐Ÿ“ฅ Setup & Run

# Clone repository
git clone https://github.com/MRagab22/Swag_Labs_Project.git
cd Swag_Labs_Project

# Install dependencies
mvn clean install

# Run tests
mvn test

Or right-click any test class in IntelliJ โ†’ Run


๐Ÿ“ Project Structure

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

๐Ÿงช Test Coverage

Manual Testing

  • 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

Automated Testing

  • 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

๐Ÿ”ฎ Future Enhancements

  • 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)

๐Ÿ‘จโ€๐Ÿ’ป Author

MRagab22


๐Ÿง  Demonstrates complete testing approach combining manual documentation with Selenium automation using Java, TestNG, and Maven.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages