- update appium at least to 1.6.5
- add test code you tried
This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
This is the excerpt from my test code
driver.findElement(By.name(“Search Job Guides”)).sendKeys(“guide”);
driver.pressKeyCode(66);
I am now updating appium. Lets see if that works.
@mbasit how about:
((AndroidDriver) driver).pressKeyCode(AndroidKeyCode.KEYCODE_SEARCH); //int KEYCODE_SEARCH = 84;
@mbasit update java client to at least 5.0.1
@mbasit not working what? you have “undefined” or you tried code and no result?
@mbasit can you share your code at https://gist.github.com/10 ?
@mbasit i commented your gist with correct imports. all should work with you now.
@mbasit tried and it was worked below with mine app:
((AndroidDriver) driver).pressKeyCode(AndroidKeyCode.ENTER);
19 days later
7 months later
6 months later
1 month later