public void beginReporting() { Console.WriteLine("One Time Set Up"); DriverProvider.Init(); BasePage.thread.Value = DriverProvider.getDriver; ExtentReports extentReports = ReportingTasks.Instance; extentReports.LoadConfig(Directory.GetParent(TestContext.CurrentContext.TestDirectory).Parent.FullName + "\\extent-config.xml"); reporter = new ReportingTasks(); }
public void finishReporting() { Console.WriteLine("One Time Tear Down"); DriverProvider.Close(); reporter.CleanUpReporting(); }