Selenium WebDriver + Maven + POM + Extent report + Java + Data driven
Key Feature
- Java
- Maven
- Selenium WebDriver
- Extent Report
- TestNG
Setup project on Machine and Execution
- Install any editor(Eclipse/IntelliJ)
- Install java
- Install jdk and jre
- Clone/Download project
- Import project
- Run Testng.xml(contains single test) or AllTCTestNG.xml(contains all tests).
Reports and Screenshots
- Expand report folder. You will find latest extent report.
- Click on extentReport.html and open with web browser.
- Screenshots are stored in screenshots folder and attached to report also.
Project Structure
- yourLogo.baseManager: In this package we are handling driver initialization.
- yourLogo.config: In this package we are handling configuration files.
- yourLogo.pages: All pages of the application are handled in this package.
- yourLogo.TestData: Test data sheet is placed here.
- yourLogo.utils: In this package we are having code to handle data sheet.
- extentReportpackage: In this package we are using extent Report for reporting test classes.
- yourLogo.TestCases: In this package all test cases are present