Skip to content

KunalB96/Ecommerce_Selenium_Java_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Hybrid Selenium Automation Framework

This project is a Hybrid Data-Driven Automation Framework developed using:

  • Selenium WebDriver
  • Java
  • TestNG
  • Apache POI (Excel Integration)
  • Extent Reports
  • Page Object Model (POM)

📌 Framework Features

✔ Data-driven execution using Excel
✔ Page Object Model (POM) design pattern
✔ ThreadLocal WebDriver (Parallel ready)
✔ Screenshot capture for PASS & FAIL cases
✔ Automatic Excel result update (PASS/FAIL)
✔ Extent Report with embedded screenshots
✔ Chrome password popup disabled
✔ Clean and scalable project structure


🏗 Framework Architecture

src/test/java │ ├── base │ └── BaseTest.java │ ├── pages │ ├── LoginPage.java │ ├── ProductsPage.java │ ├── CartPage.java │ ├── CheckoutPage.java │ └── OverviewPage.java │ ├── tests │ ├── LoginTest.java │ ├── ProductTest.java │ ├── CartTest.java │ ├── CheckoutTest.java │ └── EndToEndTest.java │ ├── utilities │ ├── ExcelUtils.java │ └── ScreenshotUtils.java │ └── testng.xml

🔄 Execution Flow

  1. TestNG triggers execution.
  2. Test data is read from Excel using DataProvider.
  3. Test cases execute using Page Object Model.
  4. After execution:
    • Excel status column is updated (PASS/FAIL)
    • Screenshot is captured
    • Screenshot is attached in Extent Report
  5. Extent Report is generated in /reports folder.

📊 Reporting

  • Screenshots are captured for both PASS and FAIL cases.
  • Extent Report is generated automatically after execution.
  • Screenshots are embedded inside the report.
  • Excel file is updated with execution status.

🧪 Test Coverage

✔ Login Tests
✔ Product Tests
✔ Cart Tests
✔ Checkout Tests
✔ End-to-End Flow

Total: 100+ Test Cases


⚙️ Tools & Technologies

  • Java
  • Selenium WebDriver
  • TestNG
  • Apache POI
  • Extent Reports
  • Maven
  • Git

💡 Framework Type

Hybrid Framework (Data-Driven + POM + Reporting)


📌 Author

Developed by Kunal Bhavasar

About

Hybrid Data-Driven Selenium Automation Framework using Java, TestNG, Page Object Model, Excel integration, Screenshot utility, and Extent Reports with ThreadLocal WebDriver support.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors