https://github.com/abdallahsalah003/dockerized-e2e-testing
This project is designed to execute end-to-end automation test cases for NopCommerce using a distributed model with Docker and Selenium Grid.
https://github.com/abdallahsalah003/dockerized-e2e-testing
allure-report data-driven-tests docker-compose e2e-testing log4j2 page-object-model selenium-grid selenium-webdriver testng
Last synced: about 1 month ago
JSON representation
This project is designed to execute end-to-end automation test cases for NopCommerce using a distributed model with Docker and Selenium Grid.
- Host: GitHub
- URL: https://github.com/abdallahsalah003/dockerized-e2e-testing
- Owner: AbdallahSalah003
- Created: 2025-02-08T21:23:59.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-14T19:52:31.000Z (3 months ago)
- Last Synced: 2025-04-09T03:43:57.134Z (about 1 month ago)
- Topics: allure-report, data-driven-tests, docker-compose, e2e-testing, log4j2, page-object-model, selenium-grid, selenium-webdriver, testng
- Language: Java
- Homepage:
- Size: 246 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀 Dockerized NopCommerce E2E Testing
This project is designed to execute end-to-end automation test cases
for NopCommerce using a distributed model with Docker and Selenium Grid.---
## Framework Design
---
## 🛠️ Technologies
- Selenium WebDriver: For browser automation.
- TestNG: For organizing and running test cases.
- Selenium Grid: For distributed test execution.
- Docker: To containerize the Selenium Grid and manage distributed nodes.
- Allure Reports: For generating detailed test reports with screenshots.
- Log4j2: For logging test execution details.
---
## 🌟 Features
- Page Object Model: Implements the POM DP for maintainable and scalable test code.
- Remote and Local Execution: Supports running tests both locally and on a remote Selenium Grid.
- Data-Driven Testing: Allows tests to be run with multiple sets of data.
- Cross-Browser Testing: Tests can be executed across different browsers.
- Test Case Grouping: Organize and group test cases for efficient execution.
- Screenshots on Failure: Automatically captures screenshots when a test fails.
---
## 🚀 How to Run
1. Clone the repo
2. Download Docker and Docker Compose
3. Navigate to the project repo and run the following to create docker network
```
docker-compose up
```
4. Open "localhost:80" on your browser and setup NopCommerce website
5. To Run testcases we have multiple options
1. Maven surefire plugin
2. TestNG.xml file
---
## 📊 Reports and Logs
1. After executing testcases, run ```allure serve``` to open report
2. After executing testcases, all logs will be found in logs dir :)