A TestNG automation project for the HR management system - https://opensource-demo.orangehrmlive.com/
This project aims to automate the testing of the HR management system using TestNG framework. It performs various actions such as creating employees, searching for employees, updating employee information, and more.
- Java
- Intellij idea
- Allure
- JDK 11
- TestNG framework
- Selenium WebDriver
- Browser driver (e.g., ChromeDriver) compatible with your browser version
- Login as a admin to https://opensource-demo.orangehrmlive.com/
- Go to PIM menu and create a new employee. Save the employee firstname, lastname, employeeid, username and password into JSONArray file. Generate random password which meets following criteria: For a strong password, please use a hard to guess combination of text with upper and lower case characters, symbols and numbers. Assert if employee is created successfully.
- Now go to the dashboard again and search by the employee id to check if the employee is found
- Now go to the Directory menu and search by employee name and check if the employee is found and Logout the session.
- Now login with the newly created employee creds
- Assert your full name is showing besides the profile icon.
- Go to my info
- Scroll down and select Gender and Blood Type as O+ and save it. Then logout the user.
- clone this project
- To run Master suite (regression testing) hit this command gradle clean test -PsuiteFile="MasterSuite.xml"
- To run SmokeMaster suite (smoke testing) hit this command gradle clean test -PsuiteFile="SmokeMasterSuite.xml"
- To generate allure report hit these command
- allure generate allure-results --clean -output
- allure serve allure-results