https://github.com/daffavirdianto/e-commerce-automation
E-Commerce Automation with Selenium WebDriver
https://github.com/daffavirdianto/e-commerce-automation
cucumber java selenium selenium-webdriver webdriver
Last synced: 2 months ago
JSON representation
E-Commerce Automation with Selenium WebDriver
- Host: GitHub
- URL: https://github.com/daffavirdianto/e-commerce-automation
- Owner: daffavirdianto
- Created: 2025-06-14T13:57:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-26T13:58:12.000Z (10 months ago)
- Last Synced: 2025-09-04T23:15:23.567Z (10 months ago)
- Topics: cucumber, java, selenium, selenium-webdriver, webdriver
- Language: Java
- Homepage: https://automationexercise.com
- Size: 31.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Selenium Java & TestNG Automation Framework
### Overview
This repository contains a robust Test Automation Framework leveraging Selenium WebDriver, Java, and TestNG. It streamlines web application testing with modularity, maintainability, and scalability in mind.
### Features
- Modular test structure powered by TestNG
- Page Object Model (POM) design pattern
- Cross-browser testing capabilities
- Simple configuration and detailed reporting
- Easily extensible for new tests and pages
### Prerequisites
- Java JDK 8 or newer
- Maven
- ChromeDriver or GeckoDriver (for browser automation)
- IDE (e.g., IntelliJ IDEA, Eclipse)
### Getting Started
1. **Clone the repository:**
```bash
git clone https://github.com/daffavirdianto/e-commerce-automation
```
2. **Install dependencies:**
```bash
mvn clean install
```
3. **Configure browser drivers** in `.env`.
4. **Run tests:**
```bash
mvn test
```
### Project Structure
```
src/
main/
java/
pages/ # Page Object classes
utils/ # Utility classes
test/
java/
tests/ # TestNG test classes
resources/
features/
```
### Reporting
Test execution reports are available in the `target/surefire-reports` directory after each run.
### Contributing
Contributions are welcome! Fork the repository and submit a pull request for enhancements or bug fixes.