📌This repository contains automated UI test using Selenium WebDriver, Cucumber (BDD), and Java. Designed for portfolio and learning purposes.
- Selenium WebDriver
- Cucumber (Gherkin)
- Java 17
- Allure Reports
- Chrome Browser
.
├── src
│ ├── main
│ │ └── java
│ └── test
│ ├── java
| | ├── models
│ │ ├── pages
│ │ ├── runner
│ │ ├── stepdefinitions
│ │ └── utils
│ └── resources
| ├── data
│ └── features
├── build.gradle
├── gradlew / gradlew.bat
├── allure-results/
├── allure-report/
└── README.md
models/
: POJO classes representing test data structures.pages/
: Page Object Model classes for UI testing.runner/
: Cucumber runners using JUnit.stepdefinitions/
: Step definitions for Cucumber scenarios.utils/
: Utility classes (e.g., Excel readers, screenshot helpers, logs helpers, Driver Manager).features/
: Gherkin feature files for BDD scenarios.data/
: Input data files such as.json
.allure-results/
: Raw Allure results (auto-generated).allure-report/
: HTML report generated by Allure (auto-generated).
git clone https://github.com/JuanCG437/selenium-cucumber-java-automation.git
cd selenium-automation-testing
./gradlew clean test AllureReport
The report is generated in the folder: build/allure-report
Open it manually:
build/allure-report/index.html

- Make sure Google Chrome is installed.
- Test run in non-headless mode by deafult.
- Timeouts and WebDriver settings can be configured in
BasePage.java
- Optional CI/CD Jenkins or GitHub Actions
- Add support for multiple browsers (FireFox/Edge)
- Externalize test data (Excel/ or CSV)
- Add API test using REST Assured
Juan Manuel Cortez Gómez
QA Automation Developer in training | Passionate about software quality and test automation.
This project is licensed under the MIT License (with limitations).
You are free to use, copy, modify, and distributions this software for personal and educational purposes. Commercial use is not allowed without the author's written permission.
See the LICENSE file for full datils.