Example #1
0
 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) { }
     }
 }
Example #2
0
        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) { }
            }
        }