Skip to content

ayaksoy/TestNG-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 TestNG Web Automation Framework

Java Selenium TestNG Maven

📖 About The Project

This repository contains a professional Web Automation Framework built with TestNG and Selenium WebDriver. It implements the Page Object Model (POM) design pattern to ensure clean, maintainable, and scalable test automation.

The framework is specifically designed for testing HRM (Human Resource Management) systems, featuring a robust utility layer, data-driven capabilities via Excel, and high-quality reporting.

🛠 Tech Stack & Tools

  • Programming Language: Java
  • Web Automation: Selenium WebDriver (v4.39.0)
  • Testing Framework: TestNG (v7.10.2)
  • Reporting: ExtentReports (v5.1.2)
  • Data-Driven Testing: Apache POI (v5.5.1)
  • Build Tool: Maven
  • Logging: SLF4J (v1.7.36)

📂 Repository Structure

The project follows a standard Maven directory structure with a focus on logical separation:

TestNG-Framework/
├── src/test/java/com/neotech/
│   ├── pages/          # Page Factory / WebElement locators (POM)
│   ├── testbase/       # BaseClass, Listeners, and Setup/Teardown logic
│   ├── testcases/      # Functional test scripts (Login tests, etc.)
│   └── utils/          # CommonMethods, ExcelUtility, Constants, and ConfigsReader
├── configs/            # configuration.properties for environment settings
├── testdata/           # Excel files for Data-Driven Testing
├── target/             # Compiled classes and HTML Reports (HRM.html)
├── smoke.xml           # TestNG suite for critical smoke tests
├── regression.xml      # TestNG suite for full regression testing
└── pom.xml             # Project dependencies and configurations

About

A robust Selenium automation framework built with Java and TestNG, featuring a Page Object Model (POM) architecture. It includes integrated ExtentReports for detailed HTML reporting, Apache POI for Data-Driven Testing via Excel, and a centralized configuration management system for scalable web testing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages