Skip to content

rohit12sh/orangehrm_automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OrangeHRM Automation Framework

A professional test automation framework for OrangeHRM using Playwright and Python.

Setup

  1. Create and activate virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Install Playwright browsers:
playwright install

Running Tests

Run all tests:

pytest

Run specific test file:

pytest tests/test_login.py

Run smoke tests:

pytest -m smoke

Generate Allure report:

allure serve reports/allure-results

Project Structure

  • tests/: Test cases organized by feature
  • pages/: Page Object Models
  • components/: Reusable UI components
  • utils/: Helper functions and configurations
  • reports/: Test execution reports and screenshots

About

orangehrm_automation by Playwright and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages