Open nicholaswkc opened 2 years ago
ANyone can help me with this issue??
I had stuck for few days, Whoever please help me.
I need your help. Please help me.
Hi, I am willing to have a look if you can create a public repository with a minimum example. Have not worked with the listener adapter you are using but have worked with extent report.
I"m using intellij in folder src/main/resources, I put the extent.properties as follow:
See here: https://github.com/extent-framework/extentreports-testng-adapter
The properties file must be in src/test/resources
.
I had move the extent.properties to src/test/resources but still there is no report generated.
Can you share a minimal example? @grasshopper7 https://github.com/extent-framework/extentreports-java/issues/363#issuecomment-1283786642
The extent version 5 has removed the html report. You need to use the spark report. Replace html by spark in the extent.properties and check if it works.
I had change the html to spark but did not works either. Why wrong with it?
Why no one willing to help me?
Ran your project after moving all artifacts under src/main
to src/test
and do see the following report generated under ../report/
:
Dear Programmer, I using extentService 5 to generate report but it did not generate any report although i provided extent.properties and html-config.xml.
Below is my code: @Listeners({ExtentIReporterSuiteClassListenerAdapter.class}) public class ChromeTestManager extends TestManager {
@Test public void testLogin() {} }
I"m using intellij in folder src/main/resources, I put the extent.properties as follow:
extent.properties
extent.reporter.html.start=true extent.reporter.html.config=html-config.xml extent.reporter.html.out=test-output/HtmlReport/TestReport.html
Why it does not generate any report? Does it need to write any code to it?