Framework include below dependency in POM.xml
-
maven-surefire-plugin
-
selenium-java
-
testng
-
extentreports
-
log4j-core
In this Created seperate pages for different Web pages available using Page factory Structure
-
basepage.java includes all basic function for initializing browser and all common methods.
-
extentreports.java includes method for creating extent report.
-
Listeners.java implements ITestListener and implented method for getting screenshot and updating report based on Pass and failure of Test Cases.
-
data.properties consist of URL for web application that we are opening for Testing and on which browser TC should run
Added all TestNG Test cases that we have to run.
Capture Screenshot for all failed Test Cases.
Generated extent html report for every run with Date and Time as Folder Name
provided all Test cases that we have to run.
can run Test cases in parallel mode.
Integrated with jenkins so that we can run our all Test Cases from jenkins