title: Selenium C# Extent report is not generating HTML file in the specified folder
body: <p>I am trying to generate a report in HTML using Extent report (version="3.1.3") for Selenium Webdriver C#, but in the specified folder i am not able to see the HTML file after successful execution of test script.</p>
  
  <p>It would be great if you could help me in identifying what is wrong and provide a solution for this issue.</p>
  
  <p>Thanks in advance.</p>
  
  <p>Please find below for the code snippet.</p>
  
  <pre><code>namespace Selenium_Demo_01
   {
  [TestFixture]
  public class Demo01
  {
      IWebDriver driver;
      Program dataDriven = new Program();
  
      public ExtentReports extent;
      public ExtentTest test;
  
      [OneTimeSetUp]
      public void ClassSetup()
      {
          var reportPath = new ExtentHtmlReporter(@"I:\Selenium\VS Project 
                                              files\Selenium_Demo_01\
                                                         Selenium_Demo_01\Reports\Demo_Report_01.html");
  
          extent = new ExtentReports();
          extent.AttachReporter(reportPath);
      }
  
      [Test]
      public void test_D365Login()
      {
          test = extent.CreateTest("test_D365Login");
  
          string webTitle, webTitle1;
  
          //Get web page Title
          driver.Url = appURL;
          webTitle = driver.Title;
          System.Console.WriteLine(webTitle);
  
          Assert.AreEqual(title1, webTitle);
          test.Pass("Assertion passed");
  
          //Get web page Title
          webTitle1 = driver.Title;
          System.Console.WriteLine(webTitle1);
  
          Assert.AreEqual(title2, webTitle1);
          test.Pass("Assertion passed");
      }
  
      [TearDown]
      public void closeBrowser()
      {
          var status = TestContext.CurrentContext.Result.Outcome.Status;
          var stacktrace = string.IsNullOrEmpty(TestContext.CurrentContext.Result.StackTrace)
                  ? ""
                  : string.Format("{0}", 
                         TestContext.CurrentContext.Result.StackTrace);
          Status logstatus;
  
          switch (status)
          {
              case TestStatus.Failed:
                  logstatus = Status.Fail;
                  break;
              case TestStatus.Inconclusive:
                  logstatus = Status.Warning;
                  break;
              case TestStatus.Skipped:
                  logstatus = Status.Skip;
                  break;
              default:
                  logstatus = Status.Pass;
                  break;
          }
  
          test.Log(logstatus, "Test ended with " + logstatus + stacktrace);
          extent.RemoveTest(test);
          extent.Flush();
          driver.Close();
      }
  </code></pre>
  
  <p>}</p>
  
  <p>Extent-config.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;extentreports&gt;
  &lt;configuration&gt;
      &lt;!-- report theme --&gt;
      &lt;!-- standard, dark --&gt;
      &lt;theme&gt;standard&lt;/theme&gt;
  
      &lt;!-- document encoding --&gt;
      &lt;!-- defaults to UTF-8 --&gt;
      &lt;encoding&gt;UTF-8&lt;/encoding&gt;
  
      &lt;!-- protocol for script and stylesheets --&gt;
      &lt;!-- defaults to https --&gt;
      &lt;protocol&gt;https&lt;/protocol&gt;
  
      &lt;!-- title of the document --&gt;
      &lt;documentTitle&gt;Automation testing&lt;/documentTitle&gt;
  
      &lt;chartVisibilityOnOpen&gt;true&lt;/chartVisibilityOnOpen&gt;
  
      &lt;!-- report name - displayed at top-nav --&gt;
      &lt;reportName&gt;Automation Report - Shashank R&lt;/reportName&gt;
  
      &lt;!-- location of charts in the test view --&gt;
      &lt;!-- top, bottom --&gt;
      &lt;testViewChartLocation&gt;bottom&lt;/testViewChartLocation&gt;
  
      &lt;!-- custom javascript --&gt;
      &lt;scripts&gt;
          &lt;![CDATA[
              $(document).ready(function() {
  
              });
          ]]&gt;
      &lt;/scripts&gt;
  
      &lt;!-- custom styles --&gt;
      &lt;styles&gt;
          &lt;![CDATA[
  
          ]]&gt;
      &lt;/styles&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p></p>