Skip to content

DeviGudla/OrangeHRM-Automation

Repository files navigation

OrangeHRM Automation Testing Project

This project automates core functionalities of the OrangeHRM web application using Java, Selenium WebDriver, and TestNG.

πŸ”§ Tech Stack

  • Java 17
  • Selenium WebDriver
  • TestNG
  • Apache POI (Excel Integration)
  • Extent Reports
  • Maven
  • GitHub Actions CI
  • Page Object Model (POM)

πŸ“ Project Structure

β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ main/java/pages/             # Page Object Model classes
β”‚   β”œβ”€β”€ test/java/testcases/         # TestNG test classes
β”‚   β”œβ”€β”€ test/java/utils/             # Utilities: Excel, Screenshot, Reporting
β”œβ”€β”€ testdata/LoginData.xlsx          # Excel file for login test
β”œβ”€β”€ screenshots/                     # Screenshots captured during tests
β”œβ”€β”€ pom.xml                          # Maven project configuration
β”œβ”€β”€ testng.xml                       # TestNG suite config
β”œβ”€β”€ .github/workflows/maven.yml      # GitHub Actions CI workflow

βœ… Test Scenarios Covered

  • Login Tests (valid & invalid credentials using Excel data)
  • Admin Module Tests:
    • Verify left menu options
    • Search by username
    • Search by user role
    • Search by status

πŸš€ How to Run Tests

Prerequisites:

  • Java 17+
  • Maven
  • Chrome browser & chromedriver (or use WebDriverManager)

Steps:

git clone https://github.com/YOUR_USERNAME/OrangeHRM-Automation.git
cd OrangeHRM-Automation
mvn clean test

πŸ’» GitHub Actions CI

  • Automated test runs on every push to main via .github/workflows/maven.yml.

πŸ“Έ Reporting & Screenshots

  • Test reports are generated via Extent Reports.
  • Screenshots captured for each key test step and saved in the /screenshots folder.

πŸ™Œ Author

Created as a capstone project for mastering test automation using Selenium and TestNG.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published