Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noushinb/selenium-webdriver-java-testing-example
This repository provides an example of using Selenium WebDriver with Java, JUnit, Cucumber, and Gherkin for browser automation and UI testing. It includes a simple framework for managing WebDriver instances, reusable UI methods, page objects, and example tests.
https://github.com/noushinb/selenium-webdriver-java-testing-example
bdd cucumber gherkin java junit page-object-model qa-automation selenium selenium-webdriver-java-junit-cucumber-gherkin test-automation
Last synced: 22 days ago
JSON representation
This repository provides an example of using Selenium WebDriver with Java, JUnit, Cucumber, and Gherkin for browser automation and UI testing. It includes a simple framework for managing WebDriver instances, reusable UI methods, page objects, and example tests.
- Host: GitHub
- URL: https://github.com/noushinb/selenium-webdriver-java-testing-example
- Owner: NoushinB
- Created: 2024-07-19T15:59:07.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-12-04T19:19:41.000Z (23 days ago)
- Last Synced: 2024-12-04T19:24:35.956Z (23 days ago)
- Topics: bdd, cucumber, gherkin, java, junit, page-object-model, qa-automation, selenium, selenium-webdriver-java-junit-cucumber-gherkin, test-automation
- Language: Java
- Homepage:
- Size: 118 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Selenium WebDriver Java Testing Example
This repository provides an example of using **Selenium WebDriver** with **Java**, **JUnit**, **Cucumber**, and **Gherkin** for browser automation and UI testing. It includes a simple framework for managing WebDriver instances, reusable UI methods, page objects, and example tests that interact with a web form on [Boni García's Selenium WebDriver page](https://bonigarcia.dev/selenium-webdriver-java/web-form.html).
The tests are written using the **Cucumber** framework in **Gherkin** syntax, which allows for behavior-driven development (BDD) style scenarios. **JUnit** is used as the test runner to execute the feature files.
## Overview
This project demonstrates how to build a basic Selenium WebDriver testing framework in Java. The repository contains:
- **Driver management** with thread-safe WebDriver instances.
- **Reusable UI methods** and **page objects** for interacting with web elements.
- **Sample test scenarios** that cover various web components (text input, password fields, checkboxes, dropdowns, etc.).
- **Cucumber-based feature files** for defining test scenarios in a behavior-driven development (BDD) style.