It is a DataDriven Framework made for Web Applications in Java Programming Language with Maven build automation tool and TestNG.
Demo Site: https://orangehrm-demo-6x.orangehrmlive.com/
This Framework and Code are written according to the above Website
- Selenium-Java
- TestNG
- JUnit
- Webdrivermanager
- Extendreports
- poi-ooxml
- multiscreenshot
Root
├── src
│ ├── config
│ ├── Locators
│ └── Test Scripts
│── Excel Files
│── Reports
└── Screenshots
The Web Application URL and the Browser details are stored in Application.properties file
Locators are stored in "Locators" Package
User Input Data are stored in Excle in "Excel_File" Floder
Test Script are stored in "Test_Script" Packages
Test_Suit.java in Test_Script Packages is the main test script file which has to run
- First - Necessary configurations are made for generating Reports, Screenshot and getting Excel Data
- Second - It get the information about Web Application and Browser from config.properties file
- Third - It run the Test Case/Test Script file
- First - It get/find the Input Field details from "Locators" file
- Second - Input field value/user data is taken from Excel file
- Third - Writing back Testcase result in Excel
- Closing the Web Application
- Generating the HTML Report of overall the Test