Пример #1
0
 public static void AddTestInfo(int methodLevel, string text)
 {
     if (GlobalParameters.CONFIG_GET_SCREENSHOT_FOR_EACH_STEP.ToString() == "true")
     {
         TEST.Log(Status.Pass, GeneralHelpers.GetMethodNameByLevel(methodLevel) + " || " + text, GetScreenShotMedia());
     }
     else
     {
         TEST.Log(Status.Pass, GeneralHelpers.GetMethodNameByLevel(methodLevel) + " || " + text);
     }
 }
Пример #2
0
 public static void AddTestScreenshot(int methodLevel, string text)
 {
     TEST.Log(Status.Pass, GeneralHelpers.GetMethodNameByLevel(methodLevel) + " || " + text, GetScreenShotMedia());
 }