Exemplo n.º 1
0
 public void TestCheck()
 {
     ConsoleMessage.StartTest("Search Test", "SearchTest");
     Appium.Instance.Driver.LaunchApp();
     LoginActivity.LoginStep(_user, _timeout);
     BrowserActivity.CreateAssay(_assay);
     BrowserActivity.CreateFlow(_flow);
     BrowserActivity.FlowList.FindAndTap(_flow);
     FlowActivity.AddElement("Add");
     FlowActivity.ElementList.VerifyElementCountByClass(1, "android.widget.EditText");
     //search
     TabMenu.Search.Tap();
     TabMenu.SearchItem(_flow);
     CommonOperation.HideKeyboard();
     SearchActivity.SearchResultList.FindAndTap(_flow);
     CommonOperation.Delay(3);
     FlowActivity.FlowName.VerifyText(_flow);
 }