The OrangeHRM Automation QA Project focuses on automating acceptance and integration testing for the OrangeHRM web application. By leveraging Behavior-Driven Development (BDD) with Cucumber and Test-Driven Development (TDD) with TestNG, the project ensures the reliability, scalability, and seamless functionality of the platform. The automation tests streamline key workflows such as user authentication, employee management, and administrative operations, reducing manual effort and delivering high-quality outcomes.
-
Functional Testing with Selenium WebDriver: Automates critical workflows, including user interactions and system validations, to ensure application reliability.
-
Behavior-Driven Development (BDD): Implements Cucumber and Gherkin syntax to create human-readable test scenarios, fostering collaboration among stakeholders.
-
Test-Driven Development (TDD): Adopts TDD practices with TestNG for robust unit and integration testing, ensuring a high-quality codebase.
-
Comprehensive Reporting and Logging: Generates detailed test reports with Extent Reports and leverages Log4j for effective debugging and monitoring.
We utilize the following technologies in our project:
- Java: Core programming language utilizing OOP principles.
- POM (Page Object Model Pattern): Organizes web elements and actions for efficient test maintenance.
- TestNG: Supports Test-Driven Development (TDD) by structuring test suites and executing tests.
- Cucumber BDD with Gherkin Syntax: Implements Behavior-Driven Development (BDD) for clear, human-readable tests.
- Selenium Webdriver: Automates web browsers for end-to-end testing.
- Extent Report: Generates detailed test reports for easy analysis.
- Log4j: Creates trace log files for debugging and monitoring.
- Apache POI: Handles CSV file operations for data storage and manipulation.
- Maven: Manages project dependencies and builds.
Follow these steps to perform automated QA testing on the OrangeHRM application:
- Visit the website: https://opensource-demo.orangehrmlive.com/
- Attempt to log in as admin with incorrect credentials.
- Log in successfully as Admin with the correct credentials.
- Log out successfully as admin.
- Log in again as admin.
- Navigate to the admin info page modify personal and contact information, and then save changes.
- Upload a file update the profile picture, and then save modifications.
- Access the PIM page (available only to admins).
- Add a new employee with a user account, add their information and contact details, and then save the changes.
- Go to the employee list, type the new employee's ID, and press Enter.
- After locating the record, log out as admin.
- Ensure Java is installed on your machine.
- Clone this repository.
- Install Maven and use it to download the project dependencies: mvn install.
- Update configuration files with required data (e.g., credentials, environment)
[ORANGEHRM_TESTCASE_AUTOMATION.xlsx] https://docs.google.com/spreadsheets/d/1w15Q6GqJDq8cq4sfOElV3Hoyeg-l-pDbHlytAd862z8/edit#gid=0
This project automates testing for key OrangeHRM workflows, ensuring high reliability and a reduced manual testing effort. It demonstrates effective use of BDD and TDD methodologies, combined with detailed reporting and robust test automation.