An open API service indexing awesome lists of open source software.

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.

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
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 :)