Exemplo n.º 1
0
 public static void SingleTestTearDown()
 {
     if (TestContext.CurrentContext.Result.Outcome != ResultState.Success)
     {
         MyScreenshot.MakePhoto(driver);
     }
 }
Exemplo n.º 2
0
 public static void SingleTestTearDown()
 {
     if (TestContext.CurrentContext.Result.Outcome != ResultState.Success)
     {
         // cia mes padarysime screenshota
         MyScreenshot.MakePhoto(_driver);
     }
 }