经伟

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
    1. driver.sendKeyEvent(84);
      Appium says it successfully sent in the command but 'search' does not get tapped. Cursor remains in text box and results do not filter.

    2. HashMap swipeObject = new HashMap();
      swipeObject.put("keycode", 84);
      ((JavascriptExecutor ) driver).executeScript("mobile: keyevent", swipeObject);
      Appium says not yet implemented.

    3. JavascriptExecutor jse = (JavascriptExecutor) driver1; jse.executeScript("UIATarget.localTarget().frontMostApp().keyboard().buttons()['Done'].tap();");
      Appium says not yet implemented.

    4. driver.sendKeyEvent(AndroidKeyCode.ENTER, AndroidKeyMetastate.META_FUNCTION_ON);
      Appium says it successfully sent in the command but 'search' does not get tapped. Cursor remains in text box and results do not filter.

    5. driver.sendKeyEvent(AndroidKeyCode.ENTER);
      Nothing happens

posted on 2015-09-01 09:54  经伟  阅读(228)  评论(0编辑  收藏  举报