Skip to content

Automated testing framework with Selenium, Cucumber, and Java for front-end testing on the Mercado Libre website.

License

Notifications You must be signed in to change notification settings

JuanCG437/selenium-cucumber-java-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web UI test Automation Project

📌This repository contains automated UI test using Selenium WebDriver, Cucumber (BDD), and Java. Designed for portfolio and learning purposes.


🧪 Tecnologies Used

  • Selenium WebDriver
  • Cucumber (Gherkin)
  • Java 17
  • Allure Reports
  • Chrome Browser

📁 Structure of project

.
├── 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).

🚀 How to Run the test

1. Clone the repository

git clone https://github.com/JuanCG437/selenium-cucumber-java-automation.git
cd selenium-automation-testing

2. Run test and Generate Allure Report

./gradlew clean test AllureReport

📸 Allure Reports

The report is generated in the folder: build/allure-report

Open it manually: build/allure-report/index.html

Screenshot 2025-07-31 233229

⚙️ Additional Configuration

  • Make sure Google Chrome is installed.
  • Test run in non-headless mode by deafult.
  • Timeouts and WebDriver settings can be configured in BasePage.java

🚧 Suggestions for Future Improvements

  • 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

👨‍💻 About the Autor

Juan Manuel Cortez Gómez

QA Automation Developer in training | Passionate about software quality and test automation.

📄 License

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.

About

Automated testing framework with Selenium, Cucumber, and Java for front-end testing on the Mercado Libre website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published