Skip to content

ArpitChoubey/Selenium-java-ecommerce-test-automation-framework

Repository files navigation

🛒 Selenium Java E-Commerce Test Automation Framework

Enterprise UI Automation Framework using Selenium WebDriver | Java | TestNG | Maven | Jenkins | Page Object Model (POM)

Java Selenium TestNG Maven Jenkins POM Extent Reports Log4j Automation GitHub


📌 Project Overview

This repository demonstrates a production-style Selenium Automation Framework developed for an E-Commerce web application.

The framework is designed using Java, Selenium WebDriver, TestNG, Maven, Page Object Model (POM), Jenkins CI/CD, Extent Reports, Log4j, Excel Data-Driven Testing, and Screenshot Capture, following industry-standard automation practices used in enterprise QA teams.

The objective of this project is not only to automate user journeys but also to showcase framework architecture, maintainability, scalability, reporting, and CI/CD integration, making it representative of a real-world automation solution.

Repository

🔗 https://github.com/ArpitChoubey/Selenium-java-ecommerce-test-automation-framework


🏷️ Project Tags

SELENIUM JAVA TESTNG MAVEN AUTOMATION TESTING PAGE OBJECT MODEL JENKINS CI/CD EXTENT REPORT LOG4J DATA DRIVEN TESTING CROSS BROWSER TESTING QA AUTOMATION E-COMMERCE TESTING


🚀 Business Objective

Modern E-Commerce applications require:

  • Reliable UI automation
  • Fast regression execution
  • Cross-browser compatibility
  • CI/CD integration
  • Detailed reporting
  • Easy maintenance
  • Reusable automation components

This framework addresses these requirements through a modular architecture that enables scalable automation for enterprise web applications.


⭐ Framework Highlights

✔ Selenium WebDriver Automation

Automates complete user workflows across an E-Commerce application.


✔ Java-Based Framework

Built using Java following Object-Oriented Programming principles.


✔ Page Object Model (POM)

Implements Page Object Model for:

  • Better maintainability
  • Reduced code duplication
  • Easier scalability
  • Cleaner test implementation

✔ TestNG Framework

Supports

  • Test Suites
  • Assertions
  • Groups
  • Parallel Execution
  • Priorities
  • Data Providers

✔ Maven Project

Dependency management using Maven.

Simple build execution.

Portable project structure.


✔ Data-Driven Testing

Uses Excel files (Apache POI) for external test data.

Supports reusable datasets without modifying automation scripts.


✔ Extent Reports

Generates professional HTML execution reports containing

  • Passed Tests
  • Failed Tests
  • Screenshots
  • Execution Time
  • Environment Information

✔ Screenshot Capture

Automatically captures screenshots during failures to simplify debugging.


✔ Logging

Integrated with Log4j for

  • Execution logs
  • Error tracking
  • Debugging
  • Test traceability

✔ Jenkins Integration

Supports automated execution using Jenkins.

Perfect for CI/CD pipelines.


✔ Cross Browser Testing

Framework supports execution across multiple browsers using TestNG XML configuration.


🛠 Technology Stack

Category Technology
Programming Language Java
UI Automation Selenium WebDriver
Test Framework TestNG
Build Tool Maven
Reporting Extent Reports
Logging Log4j
Design Pattern Page Object Model
Test Data Excel (Apache POI)
CI/CD Jenkins
Version Control Git & GitHub

📂 Framework Structure

Selenium-Java-Ecommerce-Test-Automation-Framework
│
├── TestData
│
├── logs
│
├── reports
│
├── screenshots
│
├── src
│   ├── pageObjects
│   ├── testBase
│   ├── testCases
│   └── utilities
│
├── test-output
│
├── testng.xml
├── crossbrowsertestng.xml
├── pom.xml
└── README.md

🧪 Automation Coverage

The framework automates major E-Commerce workflows including:

  • Homepage Validation
  • Logo Verification
  • Navigation Testing
  • Product Validation
  • FAQ Navigation
  • Contact Pages
  • User Interface Verification
  • Functional Regression Testing
  • Smoke Testing
  • Cross Browser Execution

⚙ Jenkins Continuous Integration

This framework has been configured for Jenkins-based automation execution.

Jenkins Capabilities

✔ Scheduled execution

✔ Maven Build

✔ Automated Regression

✔ TestNG Integration

✔ HTML Reports

✔ Build History

✔ Continuous Testing


🖼 Jenkins Screenshots Included

This repository contains actual Jenkins execution screenshots demonstrating enterprise automation execution.

Included Images

  • Jenkins Workspace Setup

  • Jenkins Job Configuration

  • Maven Build Execution

  • Test Execution Results

These screenshots provide recruiters and hiring managers with evidence of hands-on CI/CD automation experience.


📊 Reports Generated

The framework automatically generates

  • Extent HTML Reports
  • TestNG Reports
  • Execution Logs
  • Screenshots
  • Build Results

📸 Screenshots

Framework automatically captures screenshots for

  • Failed Tests

  • Validation Steps

  • UI Verification

  • Regression Evidence


📈 Enterprise QA Practices Demonstrated

This project demonstrates practical experience with

✅ Automation Framework Design

✅ Selenium WebDriver

✅ Java OOP Concepts

✅ Page Object Model

✅ Data Driven Testing

✅ Maven Build Management

✅ Jenkins CI/CD

✅ Logging Strategy

✅ Screenshot Management

✅ HTML Reporting

✅ Cross Browser Testing

✅ Regression Automation

✅ Framework Reusability

✅ Scalable Test Architecture


🚀 Running the Framework

Clone Repository

git clone https://github.com/ArpitChoubey/Selenium-java-ecommerce-test-automation-framework.git

Install Dependencies

mvn clean install

Execute Tests

mvn test

or

Run

testng.xml

from Eclipse / IntelliJ.


📁 Reports Location

reports/

Contains

  • Extent Reports

logs/

Contains

  • Automation Logs

screenshots/

Contains

  • Failure Screenshots

💼 Why This Repository Matters

This repository showcases practical experience in building a maintainable automation framework similar to those used by enterprise QA teams.

It demonstrates knowledge of:

  • Selenium Automation
  • Java
  • TestNG
  • Framework Architecture
  • Maven
  • Jenkins
  • Reporting
  • Logging
  • Automation Best Practices
  • CI/CD Integration

Rather than focusing only on writing test scripts, the framework emphasizes design, scalability, maintainability, and production-ready automation practices.


👨‍💻 About the Author

Arpit Choubey

SDET | QA Automation Engineer | Selenium | API Testing | Playwright | Java | Jenkins | Docker | SQL | AI Testing

Passionate about designing scalable automation frameworks and improving software quality through modern testing practices.


🌐 Connect with Me

GitHub

https://github.com/ArpitChoubey

LinkedIn

https://www.linkedin.com/in/arpitchoubey/

Medium

https://medium.com/@ArpitChoubey9


⭐ Support

If you found this repository useful, consider giving it a Star ⭐.

Your support motivates me to continue building and sharing enterprise-grade QA Automation projects.


🚀 "Quality is never an accident. It is always the result of intelligent testing, scalable automation, and continuous improvement."

About

E-commerce Selenium Automation Framework with Jenkins

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors