Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imranc07/orangehrmpom
Automation Project - OrangeHRM
https://github.com/imranc07/orangehrmpom
page-object-model pytest pytest-html python python-selenium-automation
Last synced: about 1 month ago
JSON representation
Automation Project - OrangeHRM
- Host: GitHub
- URL: https://github.com/imranc07/orangehrmpom
- Owner: imranc07
- Created: 2024-11-15T04:23:00.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-15T05:19:56.000Z (about 2 months ago)
- Last Synced: 2024-11-15T05:22:58.566Z (about 2 months ago)
- Topics: page-object-model, pytest, pytest-html, python, python-selenium-automation
- Language: HTML
- Homepage: https://opensource-demo.orangehrmlive.com/web/index.php/auth/login
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OrangehrmPOM
Website Link: https://opensource-demo.orangehrmlive.com/web/index.php/auth/login## Test Objective
Launching OrangeHRM demo website and testing start automation, login functionality, click_pim functionality, click_add functionality, add_employee functionality and shutdown using pytest framework with a page object model POM Pattern.## Table of Contents
+ [Features]()
+ [Tech Stack]()
+ [Running Tests]()
+ [Project Structure]()## Features
Automated Login Tests: Verifies user login functionality, including positive and negative scenarios.
Add Employee Tests: Ensures proper addition on new employee.## Tech Stack
* Programming Language: Python
* Test Framework: pytest
* Automation Tool: Selenium WebDriver
* Reporting: pytest-html
* Browser Compatibility: Chrome, Firefox, and optionally, Edge## Running Tests
To execute tests, use the following commands:1. Run All Tests:
```
pytest
```
2. Generate HTML Report:
```
pytest --html=Reports/test_report.html
```
3. Headless Browser Execution:
You can set up tests to run in headless mode directly in your test script.## Project Structure
```
OrangeHRM/
├── tests/ # All test cases
│ ├── test_start.py # Start test
│ ├── test_login.py # Login test
│ ├── test_click_pim.py # CLick PIM button tests
│ ├── test_click_add.py # Click add button test
│ ├── test_add_employee.py # and and save new employee test
│ ├── test_shutdown.py # Browser shutdown test
├── pages/ # Page Object Models for each page
│ ├── OrangeHRM.py
└── README.md # Project documentation
```