I have created a selenium automation testing project for OrangeHRM website. I have also asserted the expected message after successfull activities.
- Login as a admin to https://opensource-demo.orangehrmlive.com/
- Go to menu and create a new employee. Save the employee firstname, lastname, employeeid, username and password. Generate random password.
- Go to the dashboard again and search by the employee id if found
- Go to the Directory menu and search by employee name if found
- Logout the session.
- Now login with the newly created employee creds
- Assert your full name
- 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:
- 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
- clone this project
- To run regression testing hit this command
gradle clean test -PsuiteFile="MasterSuite.xml"
- To run 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
https://docs.google.com/spreadsheets/d/1Fx1iinGV8W9k7XcMf4buPH9NmLR50T4GVCwwjjAB72I/edit?usp=sharing
- Intellij
- Jdk-11
- Selenium
- Allure
- TestNG
https://drive.google.com/file/d/1ckvTyVljz4aPsFrj45dhS0fAmEjVV7qp/view?usp=sharing