https://github.com/amitk432/demoframework
Demo Framework using Selenium, Java, Maven, Cucumber & TestNG. For the Website https://practicetestautomation.com
https://github.com/amitk432/demoframework
cucumber java maven selenium testng
Last synced: about 2 months ago
JSON representation
Demo Framework using Selenium, Java, Maven, Cucumber & TestNG. For the Website https://practicetestautomation.com
- Host: GitHub
- URL: https://github.com/amitk432/demoframework
- Owner: amitk432
- Created: 2025-06-19T20:25:14.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-10-25T10:24:25.000Z (8 months ago)
- Last Synced: 2025-10-25T10:27:42.812Z (8 months ago)
- Topics: cucumber, java, maven, selenium, testng
- Language: Java
- Homepage: https://practicetestautomation.com/
- Size: 30.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo Automation Framework
This is a Selenium TestNG-based automation framework for UI testing. It is designed with modularity and scalability in mind, using the Page Object Model (POM) and standard Java best practices.
## ๐ Project Structure
```
demoFramework-master/
โโโ src/
โ โโโ main/java/utilities/ # Helper classes (WebDriverManager, reporting, etc.)
โ โโโ main/java/pages/ # Page Object Model classes
โ โโโ main/java/steps/ # Step Definitions for Cucumber
โ โโโ main/java/runners/ # Test runners for executing scenarios
โ โโโ test/resources/features/ # Cucumber feature files
โโโ test-output/ # Test reports and logs
โโโ pom.xml # Maven dependencies and configurations
```
## ๐ Getting Started
### Prerequisites
- Java 17 or later
- Maven 3.6+
- IntelliJ IDEA (recommended)
- Chrome or compatible browser for Selenium tests
### ๐ง Setup
1. Clone this repository or download the ZIP.
2. Navigate into the project directory:
```bash
cd demoFramework-master
```
3. Install dependencies:
```bash
mvn clean install
```
### ๐งช Running Tests
Run all tests defined in the `testng.xml` suite:
```bash
mvn test
```
You can also run individual test classes by modifying `testng.xml` or using the Maven Surefire plugin.
## ๐ Technologies Used
- Java
- Maven
- Selenium WebDriver
- TestNG
- Page Object Model (POM) design pattern
## ๐ Notes
- Tests are currently configured to run in parallel by methods via `testng.xml`.
- Modify `Runner.java` under `runners` package to control execution logic.
---
Happy Testing! ๐