public void loginScreen() { core.Timer timer = new core.Timer(); timer.start(); while (!timer.expired(10)) { try { Thread.Sleep(500); if (!kitTest.login.userName().exists()) { kitTest.clickBack(); } } catch (Exception e) { } } }
public void Init() { testinfo.suite("KitNavigation"); core.Timer timer = new core.Timer(); timer.start(); while (!timer.expired(10)) { try { Thread.Sleep(500); if (!kitTest.login.userName().exists()) { kitTest.clickBack(); } } catch (Exception e) { } } }