Open seeramzan opened 6 years ago
Hi seeramzan, When you create an instance of extent report in your init() method. You if add a timestamp it might resolve your issue.
ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter(dir + ReportPath + "/" + ProjectName +
getTime(result.getStartMillis()) + FILE_NAME);
This will create a new report every time when you call init() method.
I hope this might help.
Summary
I am controlling TestNG through listener where i am invocking testng methods with invocation count and providing different data sets from excel.
I have implemented extent reports listener its showing the results are per my needs. but i am not able to do the following
1) Test case description on report 2) create new report on each exectuion 3) execution steps with screenshots.
Sample