Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silasfrancis/orangehrm-automation-testing_pytestframework
A Web Automation test project written in python using a Pytest Hybrid Framework.
https://github.com/silasfrancis/orangehrm-automation-testing_pytestframework
automation-framework automation-testing pytest pytest-framework selenium web-automation
Last synced: 4 days ago
JSON representation
A Web Automation test project written in python using a Pytest Hybrid Framework.
- Host: GitHub
- URL: https://github.com/silasfrancis/orangehrm-automation-testing_pytestframework
- Owner: silasfrancis
- Created: 2024-03-30T23:44:28.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-07-06T16:29:53.000Z (6 months ago)
- Last Synced: 2024-12-30T00:14:46.699Z (4 days ago)
- Topics: automation-framework, automation-testing, pytest, pytest-framework, selenium, web-automation
- Language: Python
- Homepage:
- Size: 228 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
- Automation logs
- 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:
```bash
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)
```bash
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_