extent-framework / extentreports-csharp

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

index.html file is not generating for ExtentSparkReporter #213

Closed anandbhuvanendran closed 3 months ago

anandbhuvanendran commented 3 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 3 months ago

Able to find the problem