Skip to content

End-to-end UI automation for OrangeHRM using Selenium, TestNG, and Maven. Built with IntelliJ IDEA and Maven, includes BaseTest, TestNG suite, and Page Object structure.

Notifications You must be signed in to change notification settings

Shivshanker869/orangehrm-automation-selenium-testng

Repository files navigation

OrangeHRM End-to-End Automation Testing

Selenium
TestNG
Java
REST Assured
Extent Reports
Cucumber

📌 Project Overview

This project demonstrates an Enterprise-Grade End-to-End Automation Framework for the OrangeHRM Demo Application.
It covers UI Automation, API Testing, and BDD Integration, making it a comprehensive QA solution that aligns with real-world industry practices.

The goal is to create a robust, maintainable, and scalable test framework that can be showcased as a professional portfolio piece.


🚀 Key Features

  • UI Test Automation (Selenium & TestNG)

    • Modular Page Object Model (POM)
    • Data-driven tests using @DataProvider
    • Covers Login, Add, Search, Edit & Delete Employee Workflows
  • Behavior-Driven Development (BDD)

    • Gherkin-based Feature files
    • Lean Step Definitions integrated with POM
    • TestNG Runner for seamless execution
  • API Test Automation (REST Assured)

    • GET /employees – Fetch Employee Data
    • POST /create – Add Employee
    • DELETE /delete/{id} – Remove Employee
  • Advanced Reporting

    • Extent HTML Reports with logs & screenshots on failure
    • Integrated listeners for automatic reporting
  • Non-Functional Testing Plans (Documentation)

    • Performance Testing Strategy (Load under concurrent users)
    • Security Testing Plan (IDOR vulnerability checks)

🛠️ Tech Stack

  • Programming Language: Java
  • UI Automation: Selenium WebDriver
  • Test Framework: TestNG
  • BDD Framework: Cucumber (Gherkin Syntax)
  • API Testing: REST Assured
  • Build Tool: Maven
  • Reporting: Extent Reports
  • Version Control: Git & GitHub

⚡ Getting Started

1. Clone the Repository

📂 Project Structure

OrangeHRM-Automation/
│── src/main/java/
│ ├── pages/  Page Object Model classes (LoginPage, DashboardPage, etc.)
│ ├── utils/ Utility classes (Waits, ConfigReader, etc.)
│
│── src/test/java/
│ ├── tests/  TestNG test classes
│ ├── stepDefinitions/  BDD Step Definitions
│ ├── runners/  TestNG Runner for BDD
│ ├── apiTests/  REST Assured test classes
│
│── features/  Gherkin Feature Files
│── reports/  Extent HTML Reports
│── pom.xml  Maven Dependencies
│── README.md  Project Documentation



About

End-to-end UI automation for OrangeHRM using Selenium, TestNG, and Maven. Built with IntelliJ IDEA and Maven, includes BaseTest, TestNG suite, and Page Object structure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published