extent-framework / extentreports-csharp

Extent Reporting Library, .NET
http://extentreports.com
Apache License 2.0
50 stars 39 forks source link

index.html file is not generating for ExtentSparkReporter #213

Closed anandbhuvanendran closed 8 months ago

anandbhuvanendran commented 8 months ago

Hi @anshooarora, Below is the sample code I have written to generate extent report for Selenium C#. It's not throwing any error during execution, but index.html file is not generated in the output directory.

Windows 10 .NET 6.0 ExtentReports 5.0.2

private ExtentReports extent; [SetUp] public void Setup() { string reportPath = @"C:\Selenium\Csharp\index.html"; extent = new ExtentReports(); extent.AttachReporter(new ExtentSparkReporter(reportPath)); InitDriver();

} [TearDown] public void TearDown() { extent.Flush(); QuitDriver(); }

anandbhuvanendran commented 8 months ago

Able to find the problem