Here In my case , to enter text in Text Field
I am using driver.clear
to clear Text Field
and then driver.sendKeys
to enter text in Text Field
.
But its taking too much time for WebDriver(Selenium)
and Appium Server
with real device and Android Virtual Device also.
You can download GenyMotion , and here's a installation tutorial .
I'm working with it and it's very fast.
Hope it will help.
Try waiting for the element before sending it. Use this :
WebDriverWait wait = new WebDriverWait(driver, 15);
wait.until(ExpectedConditions.visibilityOfElementLocated(By
.className("...............")));
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.