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.
- Host: GitHub
- URL: https://github.com/2004-aloksingh/seleniumcodes-nd-projects
- Owner: 2004-AlokSINGH
- Created: 2025-02-24T16:04:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-01T15:29:12.000Z (over 1 year ago)
- Last Synced: 2025-03-01T16:27:37.808Z (over 1 year ago)
- Topics: bdd-framework, cucumber-java, selenium, testng-framework
- Language: HTML
- Homepage:
- Size: 1010 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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