Open mwahab25 opened 3 years ago
This is a bug currently in the newest version of extent reports..
If you use ExtentV3HtmlReporter then it works, like in this example:
var htmlreporter = new ExtentV3HtmlReporter(ExtentReportPath + "Data" + DateTime.Now.ToString("MMM-dd-yyyy hh-mm-ss") + ".html");
But Visual Studio will give you a warning that ExtentV3HtmlReporter is outdated.
The newest one is called ExtentHtmlReporter without the V3. But with this one, the output files name is always "index.html"
Is there a way to add time stamp in index file ? like index_9_13_20_7_7_2021