Skip to content

ArpitChoubey/Selenium-WebDriver-E-commerce-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

37 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Selenium WebDriver E‑commerce Application Used

A production‑ready, SDET‑style Selenium automation repository built using Java + Selenium WebDriver + Maven, covering real‑world UI automation scenarios, advanced browser handling, data‑driven testing, exception handling, and Chrome DevTools (CDP) use cases.

This repository is designed to showcase hands‑on SDET skills, not just theory.


🧩 Key Highlights

βœ” End‑to‑End Selenium WebDriver automation examples βœ” Clean package structure following industry practices βœ” Advanced Selenium concepts (CDP, Shadow DOM, SVG, JS Executor) βœ” Data‑Driven Testing using Excel (Apache POI) βœ” Robust Exception Handling coverage βœ” Maven‑based project (easy dependency management) βœ” Screenshot capture & test artifacts βœ” Ideal for SDET / Automation Engineer interviews & portfolios


πŸ— Project Structure

Selenium-WebDriver-E-commerce-Application
β”‚
β”œβ”€β”€ eclipse-workspace/
β”‚   └── SeleniumPractice/
β”‚       β”œβ”€β”€ src/test/java/
β”‚       β”‚   β”œβ”€β”€ SeleniumP/            # All Selenium concepts
β”‚       β”‚   β”œβ”€β”€ DataDrivenTesting/     # Excel-based data driven tests
β”‚       β”‚   β”œβ”€β”€ Exceptions/            # Selenium exception handling demos
β”‚       β”‚   └── ChromeDevTools/         # Chrome DevTools (CDP) examples
β”‚       β”‚
β”‚       β”œβ”€β”€ Screenshots/               # Captured test screenshots
β”‚       β”œβ”€β”€ TestData/                  # Excel & test data files
β”‚       β”œβ”€β”€ pom.xml                    # Maven dependencies
β”‚       └── README.md

πŸ§ͺ Selenium Concepts Covered

πŸ”Ή Core Selenium WebDriver

  • Locators (ID, Name, Class, CSS, XPath)
  • XPath (Absolute, Relative, Advanced)
  • WebElement methods
  • Browser navigation & window handling
  • Tabs & multiple windows
  • Frames & iFrames
  • Alerts & JavaScript pop‑ups
  • Mouse & Keyboard actions
  • Drag & Drop, Sliders, Hover actions

πŸ”Ή Advanced Selenium

  • Shadow DOM handling
  • SVG elements interaction
  • JavaScriptExecutor usage
  • File upload handling
  • Captcha awareness handling
  • Headless browser testing
  • Page Load Strategy & Timeouts

πŸ”Ή Wait Strategies

  • Implicit Wait
  • Explicit Wait
  • Fluent Wait

πŸ“Š Data‑Driven Testing

Implemented using Apache POI:

  • Read data from Excel
  • Write data into Excel
  • Dynamic data writing
  • Random & specific data handling

πŸ“ Package: DataDrivenTesting


🚨 Selenium Exception Handling

Comprehensive coverage of real Selenium exceptions, including:

  • NoSuchElementException
  • TimeoutException
  • StaleElementReferenceException
  • ElementClickInterceptedException
  • InvalidSelectorException
  • NoSuchWindow / Frame / Session exceptions

πŸ“ Package: Exceptions


🧠 Chrome DevTools (CDP)

Advanced browser‑level automation using CDP:

  • Execute CDP commands
  • Capture console logs
  • Network offline simulation
  • Load insecure websites

πŸ“ Package: ChromeDevTools


πŸ›  Tech Stack

  • Language: Java
  • Automation Tool: Selenium WebDriver
  • Build Tool: Maven
  • Test Data: Excel (Apache POI)
  • Browser: Chrome
  • IDE: Eclipse
  • Version Control: Git & GitHub

β–Ά How to Run the Project

  1. Clone the repository

    git clone https://github.com/ArpitChoubey/Selenium-WebDriver-E-commerce-Application.git
  2. Open Eclipse

  3. Import as Existing Maven Project

  4. Update Maven dependencies

  5. Run any *.java file as Java Application


πŸ“Έ Screenshots

All captured screenshots during execution are stored in:

Screenshots/

🎯 Ideal For

  • SDET / Automation Engineer Portfolio
  • Selenium Interview Preparation
  • Real‑world Selenium practice
  • QA Engineers transitioning to Automation

πŸ‘¨β€πŸ’» Author

Arpit Choubey SDET | QA | Automation Engineer

πŸ”— LinkedIn: https://www.linkedin.com/in/arpitchoubey/ ✍ Medium: https://medium.com/@ArpitChoubey9


⭐ Support

If this repository helped you:

πŸ‘‰ Please Star ⭐ the repo to support and motivate further contributions!

Happy Testing πŸš€

About

Selenium WebDriver Latest Version 4.39.0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages