Skip to content

Latest commit

 

History

History
executable file
·
51 lines (39 loc) · 876 Bytes

README.md

File metadata and controls

executable file
·
51 lines (39 loc) · 876 Bytes

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