Exemple #1
0
 public static void AfterScenario()
 {
     if (!TestCompletedWithoutErrors())
     {
         Utilities.SendScreenShotEmail(WebDriver.TakeScreenShot(TestContext.CurrentContext.Test.Name));
     }
     WebDriver.CleanUp();
 }
Exemple #2
0
 public void ThenRegistrationShouldBeSuccessful()
 {
     WebDriver.CleanUp();
 }