Selenium Automation Suite is a comprehensive modular testing framework designed to automate UI and backend testing for web applications. It integrates Cucumber, JUnit, TestNG, and Selenium to facilitate Behavior Driven Development (BDD), end-to-end testing, and parallel test execution.
selenium-automation-suite/
│
├── .idea/ # IntelliJ IDEA project files
├── common/ # Shared utility modules
│
├── cucumber-projects/ # Cucumber-based projects
│ └── parabank-cucumber-tests/ # ParaBank Cucumber tests
│ ├── src/ # Source code
│ ├── target/ # Build output
│ └── pom.xml # Maven configuration file
│
├── junit-projects/ # JUnit-based projects
│ ├── demowebshop-e2e-tests/ # DemoWebShop end-to-end tests
│ ├── itera-tests/ # Itera test scenarios
│ ├── itera-tests-xpath/ # XPath-based Itera tests
│ └── shopdemo-e2e-tests/ # ShopDemo tests
│ └── pom.xml # Maven configuration file
│
├── testng-projects/ # TestNG-based projects
│ ├── demowebshop-e2e-tests-testng/ # TestNG DemoWebShop tests
│ └── nopcommerce-admin-testng/ # NopCommerce admin tests
│ ├── src/ # Source code
│ ├── target/ # Build output
│ └── pom.xml # Maven configuration file
│
├── .gitignore # Git ignore file
└── pom.xml # Parent Maven configuration file
parabank-cucumber-tests
- Automated test suite for the ParaBank application.
- Utilizes Cucumber, Selenium, and TestNG.
- Includes feature files and step definitions in
src/test/java
.
- demowebshop-e2e-tests – End-to-end tests for DemoWebShop.
- itera-tests – Itera test scenarios.
- itera-tests-xpath – XPath-based Itera tests.
- shopdemo-e2e-tests – End-to-end tests for ShopDemo application.
- demowebshop-e2e-tests-testng – TestNG tests for DemoWebShop.
- nopcommerce-admin-testng – Admin panel tests for NopCommerce.
git clone https://github.com/cihat-kose/selenium-automation-suite.git
cd selenium-automation-suite
- File -> New -> Project from Existing Sources
- Select the
pom.xml
file. Maven will automatically import dependencies.
Main dependencies required for the project:
- Selenium – UI automation
- Cucumber – BDD testing
- TestNG – Test organization and execution
- JUnit – Unit testing framework
- Extent Reports – HTML and PDF test reports
- Apache POI – Excel file processing
- Commons IO – File handling utilities
Dependencies are managed via the pom.xml
file in each module.
mvn clean test
cd cucumber-projects/parabank-cucumber-tests
mvn clean test
mvn clean test -PRegression
- Test reports are generated in the
test-output
andtestReports
folders. - HTML reports are located in
SparkReport
. - PDF reports are generated as
PdfReport.pdf
.
Contributions are welcome!
- Fork the repository.
- Create a new branch:
git checkout -b new-feature
- Commit your changes:
git commit -m "Add new feature"
- Push to the branch:
git push origin new-feature
- Open a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or issues, please open an issue in this repository.