예제 #1
0
 public static void AfterScenario()
 {
     if (!TestCompletedWithoutErrors())
     {
         Utilities.SendScreenshotEmail(WebDriver.TakeScreenshot(TestContext.CurrentContext.Test.Name));
     }
     WebDriver.Cleanup();
 }
예제 #2
0
 public void Dispose()
 {
     WebDriver.Cleanup();
 }
예제 #3
0
 public static void AfterScenario()
 {
     WebDriver.Cleanup();
 }