The sendKeys() command in Appium 1.3.3 is overwriting the password in username field using the code below:
@FindBy(id=“com.xxx:id/username”)
private WebElement usernameFeild;
@FindBy(id="com.xxx:id/password")
private WebElement passwordFeild;
@FindBy(id="com.xxx:id/toggling_text")
private WebElement signInButton;
public void typeUsername(String username) throws Throwable {
//usernameFeild.click();
usernameFeild.sendKeys(username);
}
public void typePassword(String password) throws Throwable {
//passwordFeild.click();
passwordFeild.sendKeys(password);
}
========================================
I’m testing on Nexus 7:
appium-version = 1.3.3
platformName = Android
platformVersion = 4.4
deviceName = android