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

https://github.com/2004-aloksingh/seleniumcodes-nd-projects

Welcome to the seleniumCodes and Demos repository! This repo contains advanced automation testing scripts using Selenium, TestNG, and Cucumber to demonstrate end-to-end testing, BDD (Behavior-Driven Development), and test management techniques.
https://github.com/2004-aloksingh/seleniumcodes-nd-projects

bdd-framework cucumber-java selenium testng-framework

Last synced: 11 months ago
JSON representation

Welcome to the seleniumCodes and Demos repository! This repo contains advanced automation testing scripts using Selenium, TestNG, and Cucumber to demonstrate end-to-end testing, BDD (Behavior-Driven Development), and test management techniques.

Awesome Lists containing this project

README

          

# seleniumCodes and Demos

Welcome to the **seleniumCodes and Demos** repository! This repo contains advanced automation testing scripts using **Selenium**, **TestNG**, and **Cucumber** to demonstrate end-to-end testing, BDD (Behavior-Driven Development), and test management techniques.

## 📋 Introduction to Selenium

**Selenium** is a powerful open-source tool for automating web applications across different browsers and platforms. It supports multiple programming languages, and in this repository, we focus on **Java** integration with **TestNG** and **Cucumber** for robust test automation.

### Key Features
- **Cross-Browser Testing:** Automate tests on Chrome, Firefox, Edge, etc.
- **TestNG Integration:** Provides annotations, parallel execution, and test configuration.
- **Cucumber BDD:** Implements Gherkin syntax for readable and maintainable test cases.

## 🛠 Tech Stack
- **Language:** Java
- **Testing Framework:** TestNG
- **BDD Framework:** Cucumber
- **Automation Tool:** Selenium WebDriver

## 📂 Project Structure
- **`src/test/java`** — Test scripts and step definitions.
- **`src/test/resources`** — Cucumber feature files (.feature).
- **`testng.xml`** — TestNG configurations.
- **`pom.xml`** — Maven dependencies and plugins.
- **`git.md`** — Git workflow and best practices.

## 🚀 Key Testing Concepts
- **Page Object Model (POM):** For maintainable and reusable page interactions.
- **Data-Driven Testing:** Using TestNG DataProviders for multiple datasets.
- **Assertions:** Soft and hard assertions for validation.
- **Test Reports:** Generated using TestNG listeners and Cucumber reports.

## 🏗 Installation and Setup
1. **Clone the repo:**
```bash
git clone https://github.com/2004-AlokSINGH/seleniumAssessments.git