예제 #1
0
        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();
        }
예제 #2
0
 public void finishReporting()
 {
     Console.WriteLine("One Time Tear Down");
     DriverProvider.Close();
     reporter.CleanUpReporting();
 }