Open nicholaswkc34 opened 2 years ago
Anyone please help me on this as i struggle quite some time..
Hi,
The first thing that looks suspicious is this line in your sec/test/resources/extent.properties file
extent.reporter.spark.config=html-config.xml
You should change it to extent.reporter.spark.config=src/test/resources/html-config.xml
to point to the correct file.
This line extent.reporter.spark.out=../report/TestReport1.html
should be changed to extent.reporter.spark.out=report/TestReport1.html
Does this resolve the issue?
I also noticed that you have your own ExtentManager class and create tests from this. Note that extentreports-testng-adapter is there so you do not have to create your own ExtentManager.
I assume it would be safest to delete this class and all references to it in order to not interfere with the adapter.
Dear All, I had coded extent service 5 and extent.properties and html.config but it cannot generate the test report. I don't know why. Anyone please help me.
I attached my sample project. Automation_Framework_v4.zip