Skip to content

Latest commit

 

History

History
64 lines (45 loc) · 2.96 KB

README.md

File metadata and controls

64 lines (45 loc) · 2.96 KB

WebAutomation-TestNG-OrangeHRM

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.

Technology used:

  • Selenium Webdriver
  • TestNG Framework
  • Java
  • Gradle
  • Intellij idea
  • Allure Report

How to run this project

  • 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 and allure serve allure-results

Assigned Work Scenerio:

  1. log in as a admin to https://opensource-demo.orangehrmlive.com/

  2. 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.

  3. 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)

  4. Now go to the Directory menu and search by employee name and check if the employee is found

  5. Logout the session.

  6. Now login with the newly created employee creds

  7. Assert your full name is showing besides the profile icon.

  8. Go to my info

  9. Scroll down and select Gender and Blood Type as O+ and save it. Then logout the user.

  10. 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

Test case sheet:

https://docs.google.com/spreadsheets/d/1-RC1HgEJm_2bM41JdL4L5vdZrwB3cjjycT649Tx8DF0/edit?usp=sharing

Allure Report for Master Suite Execution:

master suit overview

master suite behaivior

Allure Report for Smoke Suite Execution:

smoke suite overview

smoke suite behaivior

Automation Demonstration Video (Master Suite Execution):

MasterSuite.Execution.mp4

Automation Demonstration Video (Smoke Suite Execution):

SmokeSuite.Execution.mp4