예제 #1
0
        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");
        }
예제 #2
0
 public void TapOnWithSwipeDown(string objectName)
 {
     KeywordImplementation.SwipeVerticle(3, 0.20, 0.50, By.Name(objectName));
     KeywordImplementation.Tap(objectName);
 }
예제 #3
0
 public void TapOn(string objectName)
 {
     KeywordImplementation.Tap(objectName);
 }