1.I am using appium for mobile app testing and language as java.
2. I have given below coding to enter the text by using sendkeys.
3. After entering the text, I need to press the search button from keyboard.
4. For that I have used key code event to press the search button. But, search action doesn't happens for me.
5. How to click an search button by using coordinates?
@Test
public static void test_demo() throws Exception {
WebElement element = driver.findElement(By.id("mytextfield"));
element.sendKeys("Chennai");undefined> // press search button
driver.sendKeyEvent(84);
}