private void EnterCode() { for (int count = 0; count < 14; count++) { KeywordImplementation.Click(By.XPath("//*[contains(@content-desc,'imageConnectHCP')]")); } KeywordImplementation.Click(By.Name("Integration")); KeywordImplementation.TypeText(By.XPath("//*[contains(@content-desc,'entryFieldLeft')]"), AppVariables.entryLeftCode); KeywordImplementation.TypeText(By.XPath("//*[contains(@content-desc,'entryFieldRight')]"), AppVariables.entryRightCode); ((AndroidDriver <OpenQA.Selenium.Appium.Android.AndroidElement>)Accessor.getDriver()).PressKeyCode(AndroidKeyCode.Back); Logger.logSnapshot(); KeywordImplementation.Tap("Connect Now"); }
public void TapOnWithSwipeDown(string objectName) { KeywordImplementation.SwipeVerticle(3, 0.20, 0.50, By.Name(objectName)); KeywordImplementation.Tap(objectName); }
public void TapOn(string objectName) { KeywordImplementation.Tap(objectName); }