Closed vsrd13 closed 6 years ago
Remove this line extentProperties.setReportPath("output/myreport.html");
and see. This api is to set the report path. Since you are pointing it to output/myreport.html
, it doesn't generate the run time directory.
Feel free to re-open in case you need further help.
Issue: Unable to create report in dynamic location(output/Run/report.html" with Cucumber & TestNG. I could see “output” folder along with “report.html” file, but not like this output/Run/report.html.
This issues occurs only with TestNG, but with JUnit it works fine.
Document link followed: Link: https://github.com/email2vimalraj/CucumberExtentReporter
Dependencies: