Coder Social home page Coder Social logo

foysal619 / webautomation-testng-orangehrm Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 12 KB

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.

Java 100.00%
allure-reports java selenium selenium-java selenium-webdriver testng-framework

webautomation-testng-orangehrm's Introduction

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

webautomation-testng-orangehrm's People

Contributors

foysal619 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.