When I try to input email address like "test@gmail.com" during doing android automation using Appium, it always end up as "test2gmail.com". My code is as following:
driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"),capabilities);
WebElement email = driver.findElementby(...);
email.sendKeys("test@gmail.com");
I also tried:
WebElement email = driver.findElementby(...);
email.sendKeys("test");
email.click();
driver.sendKeyEvent(77);//Key code constant: '@' key.
email.sendKeys("gmail.com");
It doesn't work either. Can somebody please help me on this.