public static void CreateReport() { if (EXTENT_REPORT == null) { Utilitarios.EnsureDirectoryExists(reportRootPath); Utilitarios.EnsureDirectoryExists(reportPath); var htmlReporter = new ExtentV3HtmlReporter(fullReportFilePath); htmlReporter.LoadConfig(Utilitarios.GetProjectPath() + "extent-config.xml"); EXTENT_REPORT = new ExtentReports(); EXTENT_REPORT.AttachReporter(htmlReporter); } }