Пример #1
0
 public override void Dispose()
 {
     if (Context.TestException != null)
     {
         stacktrace = Context.TestException.StackTrace;
         message    = Context.TestException.Message;
         status     = "Failed";
     }
     ExtentReportHelpers.AddTestResult(status, message, stacktrace);
     base.Dispose();
 }
 public void TearDown()
 {
     ExtentReportHelpers.AddTestResult();
     DriverFactory.QuitInstace();
 }
Пример #3
0
 public void TearDown()
 {
     ExtentReportHelpers.AddTestResult();
 }
Пример #4
0
 public void CloseAll()
 {
     ExtentReportHelpers.AddTestResult();
     DriverFactory.INSTANCE.Close();
     DriverFactory.INSTANCE.Quit();
 }
 public static void TearDownScenario()
 {
     ExtentReportHelpers.AddTestResult();
 }
Пример #6
0
 public void TearDown()
 {
     ExtentReportHelpers.AddTestResult();
     ExtentReportHelpers.GenerateReport();
     DriverFactory.KillDriver();
 }