In this repository I have automated the OrangeHRM with different scenario. Create Smoke & Master Suite for easy execution. Also generated the Allure Report for better visibility.
- Selenium Webdriver
- TestNG Framework
- Java
- Gradle
- Intellij idea
- Allure Report
-
Clone this project
-
Hit the following command into the terminal:
gradle clean test
-
For generating Allure Report use these commands:
allure generate allure-results --clean -o allure-report
andallure serve allure-results
-
log in 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 (could not generate because in the dashboard panel, there is no search functionality exist. There i have search the employee username from ADMIN tab)
-
Now go to the Directory menu and search by employee name and check if the employee is found
-
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.
-
Create a smoke suite configuration which will run only following features (positive cases only):
- Login to admin
- search by the employee id if found
- logout admin and login to the employee id you created last
- Update the blood Group as AB-
- Logout the user
https://docs.google.com/spreadsheets/d/1-RC1HgEJm_2bM41JdL4L5vdZrwB3cjjycT649Tx8DF0/edit?usp=sharing