- The objective of this project is to automate the navigation and interaction with web elements on the FitPeo website.
- The automation covers various use cases related to navigating the homepage, interacting with the revenue calculator, and validating functionality such as:
- Slider adjustments
- Text field updates
- Reimbursement value calculations
- Navigate to the FitPeo Homepage
- Open the web browser and navigate to the homepage.
- Navigate to the Revenue Calculator Page
- From the homepage, navigate to the Revenue Calculator page.
- Scroll to the Slider Section
- Scroll down to make the revenue calculator slider visible.
- Adjust the Slider
- Adjust the slider to set its value to
820
and validate that the bottom text field updates accordingly.
- Adjust the slider to set its value to
- Update the Text Field
- Modify the text field value to
560
and ensure the slider updates to reflect this value.
- Modify the text field value to
- Validate Slider Value
- Verify that the slider and text field values match after updating the text field.
- Select CPT Codes
- Scroll further and select the checkboxes for CPT codes:
CPT-99091
CPT-99453
CPT-99454
CPT-99474
- Scroll further and select the checkboxes for CPT codes:
- Validate Total Recurring Reimbursement
- Verify that the "Total Recurring Reimbursement for all Patients Per Month" displays the expected value of
$110,700
.
- Verify that the "Total Recurring Reimbursement for all Patients Per Month" displays the expected value of
- Programming Language: Java
- Automation Tool: Selenium
- Test Framework: TestNG
- Build Tool: Gradle
|-- src
| |-- main
| | |-- java
| | | `-- fitpeo
| | | |-- pages
| | | | |-- Home.java
| | | | `-- RevenueCalculator.java
| | | `-- utilities
| | | |-- Utils.java
| | | `-- reports
| | | |-- ExtentReportManager.java
| | | `-- ExtentTestManager.java
| | `-- resources
| `-- test
| |-- java
| | `-- fitpeo
| | `-- tests
| | |-- Base.java
| | `-- Testcase01.java
| `-- resources
| |-- extentConfig.xml
| `-- testng.xml
|-- build.gradle
- Java Development Kit (JDK) version 21 or higher: Download JDK
- IDE: Download Visual Studio Code
- Gradle for build management: Download Gradle
- Chrome Browser: Download Chrome
- Ensure the following dependencies are added to the build.gradle file:
- Clone the repository or download the source code.
- Clone via Git
git clone https://github.com/devendraDPI/fitpeo-automation.git
- Download the Source Code
- Clone via Git
- Open the project in your IDE.
- Run below to download dependencies and build the project.
gradle build
- To run the automated tests, execute the following command
gradle test
- All test cases should pass.
FitPeo: Home Page
FitPeo: Revenue Calculator Page
Emailable report
Index report
Extent report
- Watch the execution of the automated tests on YouTube