This project automates core functionalities of the OrangeHRM web application using Java, Selenium WebDriver, and TestNG.
- Java 17
- Selenium WebDriver
- TestNG
- Apache POI (Excel Integration)
- Extent Reports
- Maven
- GitHub Actions CI
- Page Object Model (POM)
βββ 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
- 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
- Java 17+
- Maven
- Chrome browser & chromedriver (or use WebDriverManager)
git clone https://github.com/YOUR_USERNAME/OrangeHRM-Automation.git
cd OrangeHRM-Automation
mvn clean test
- Automated test runs on every push to
main
via.github/workflows/maven.yml
.
- Test reports are generated via Extent Reports.
- Screenshots captured for each key test step and saved in the
/screenshots
folder.
Created as a capstone project for mastering test automation using Selenium and TestNG.