End-to-End Automation Testing Framework using Playwright (Python)
This project automates the User Management flow in OrangeHRM as part of the AccuKnox QA assignment.
It validates core CRUD (Create, Read, Update, Delete) functionalities for the “Admin → System Users” module.
This automation suite performs the following steps in sequence:
- Login to OrangeHRM (Admin credentials)
- Navigate to the Admin → System Users section
- Add a new user with random username and specific dropdown selections
- Search for the newly added user
- Edit all user details (User Role, Employee Name, Status, Username, Password)
- Validate updates in the Admin User table
- Delete the same user
- Validate deletion to ensure data integrity
| Component | Details |
|---|---|
| Language | Python 3.10+ |
| Framework | Playwright (Sync API) |
| Browser | Chromium |
| Testing Type | End-to-End (E2E) UI Automation |
| System Under Test | OrangeHRM Open Source Demo |
✅ Fully self-contained script (auto-installs dependencies if missing)
✅ Handles dynamic dropdowns and employee search using robust waiting logic
✅ Automatically selects dropdowns and employee suggestions using keyboard simulation
✅ Fully recoverable from timeouts or overlay UI blocking
✅ Built-in screenshots on failure (and can be extended to success screenshots)
✅ Modularized functions for Add, Search, Edit, Delete flows
✅ Designed for reproducibility and cross-language resilience (handles localization issues)