Git Product home page Git Product logo

orangehrm-automation-testing's Introduction

Testing OrangeHRM Demo Application

This project involves the testing of the PIM Module on the OrangeHRM Demo Platform using the Pytest FrameWork

Features

  • Page Object Model
  • HTML Reports
  • Data Driven Testing
  • Logging
  • Multiple Browsers Support
  • Parallel Testing

##Test Scenarios

  • Login into the OrangeHRM demo site: https://opensource-demo.orangehrmlive.com/
  • Create Employee
  • Register Employee as an Admin
  • Login as the new employee
  • Update Employee Details
  • Search Employee by Name
  • Search Employee by Id
  • Login via test Data in xlsx file
  • Create employee using test Data in xlsx file

Languages, libraries and tools used

  • Python
  • Pytest
  • pytest-html
  • pytest-xdist
  • Openpyxl
  • Allure-pytest

Installation

To install the required libraries for distributed testing, run the following command in your terminal:

pip install -U pytest
pip install pytest-html
pip install pytest-xdist
pip install openpyxl
pip install allure-pytest

Test Execution

Test Execution

Test Execution commands can be found in the run.bat file located in this respository

Browser Supported:

  • Chrome (--browser chrome)
  • Edge (--browser edge)
  • Firefox (--browser firefox)
e.g.
pytest -s -v --html=Reports/report_login.html testCases/test_login.py --browser chrome

This will run test on Chrome Browser

N/B: If no browser is specified test will be executed on chrome

orangehrm-automation-testing's People

Contributors

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