How can I override test cases for multiple executions in the same report?. Like if I run failed test cases multiple time then it should override the same file without losing other records.
In my case, it deletes all the old records from the file and adds the new one.
string path1 = AppDomain.CurrentDomain.BaseDirectory.Replace("\\bin\\Debug", "");
string path = path1 + "Report\\index.html";
ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter(path);
htmlReporter.Configuration().Theme = AventStack.ExtentReports.Reporter.Configuration.Theme.Standard;
extent = new ExtentReports();
extent.AttachReporter(htmlReporter);