The testing type for the OrangeHRM Automation QA Project involves several methodologies and frameworks, primarily focusing on Behavior-Driven Development (BDD), Test-Driven Development (TDD), and functional testing. Here's a breakdown based on the technologies and approaches mentioned:
Cucumber is a BDD tool that allows developers to write acceptance tests in plain text using Gherkin syntax. This approach makes the tests easily understandable by both technical and non-technical stakeholders, facilitating communication and collaboration during the development process.
TestNG is a testing framework inspired by JUnit and NUnit introducing some new functionalities that make it more powerful and easier to use. While TestNG itself does not enforce TDD, it supports the practice by allowing developers to write tests before implementing the functionality they test. This ensures that every piece of code has corresponding tests, promoting a robust and reliable codebase. Functional Testing with Selenium WebDriver: Selenium WebDriver is a collection of open-source APIs that are used to automate the testing of a web application. It allows for simulating user interactions with the web application, such as clicking buttons, filling out forms, and navigating through pages. This form of testing is crucial for validating the functionality of the web application against the expected outcomes.
The project also involves integration testing, where individual units are combined and tested as a group. This is evident in the scenario where different functionalities like logging in, creating and modifying employee records, and testing the functioning of different modules are automated. This ensures that the components of the system work together as expected.
Extent Reports are used for generating detailed HTML reports of the test execution, including pass/fail status, screenshots, and logs. This aids in analyzing the test results and identifying areas for improvement. Log4j is utilized for logging trace information, which is essential for debugging and monitoring the application's behavior during testing. In summary, the OrangeHRM Automation QA Project employs a combination of BDD, TDD, functional testing, and integration testing methodologies, leveraging tools like Cucumber, TestNG, Selenium WebDriver, Extent Reports, and Log4j. This comprehensive approach ensures thorough validation of the application's features and functionalities, contributing to the overall quality assurance of the system.
We utilize the following technologies in our project:
- 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 Web Automation Framework: 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.
Before starting, make sure you have the latest version of Java installed on your computer.
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.
[ORANGEHRM_TESTCASE_AUTOMATION.xlsx] https://docs.google.com/spreadsheets/d/1w15Q6GqJDq8cq4sfOElV3Hoyeg-l-pDbHlytAd862z8/edit#gid=0
This project exemplifies the application of modern testing methodologies and tools to ensure the reliability and functionality of the OrangeHRM application. By automating QA processes, we aim to streamline testing efforts and enhance the overall quality of the application.