//km public static void InitializeReport(object sender, EventArgs e) { //Create extent report string reportPath = "\\BrowserStackReports\\"; reportLocation = FileSystemHelper.CreateFilePath(reportPath); var htmlReporter = new ExtentHtmlReporter(reportLocation); htmlReporter.Config.Theme = AventStack.ExtentReports.Reporter.Configuration.Theme.Dark; htmlReporter.Config.DocumentTitle = reportLocation; extent = new ExtentReports(); extent.AttachReporter(htmlReporter); extent.AddSystemInfo("Test Environment", Configurator.GetConfiguratorInstance().GetBaseUrl()); }