BDD-style test automation for OrangeHRM Demo using Robot Framework with Gherkin syntax. Delivers maintainable, human-readable, and scalable QA workflows.
The automation covers:
- CRUD functionality (Create, Read, Update, Delete)
- Good and bad test cases
- Dynamic data generation using Faker
- Dropdown handling
- Modal interactions
The project is structured as follows:
orangehrm-test/
βββ test.robot # Main test suite
βββ actions/
β βββ keyboards.robot # Keywords
βββ variables/
βββ test_variables.robot # Global variables
- Tests follow Gherkin-style syntax for readability and behavior-driven development (BDD).
- Logs in, navigates to Add Employee
- Generates realistic names and IDs with Faker
- Uploads a profile image
- Submits the form successfully
- Leaves required fields empty
- Triggers validation messages
- Confirms proper form validation enforcement
- Edits existing employee data (name, marital status, license number, nationality)
- Uses randomized inputs for realistic coverage
- Handles cancel and confirm delete actions
- Automates confirmation modal interactions
- Creates and updates system users via the Admin panel
- Uses randomized data with dropdown selections for roles and statuses
Run the suite with:
robot test.robot- Reports and logs are generated automatically in HTML format
- Tests are modular and reusable for scalability
Developed by Beverly A. Canoy