HI,
When I am trying to enter a password in the password field using sendkeys() method. I am getting this error “org.openqa.selenium.WebDriverException: unknown error (An unknown server-side error occurred. status=‘false’. Failed to complete internal method: ‘elementSendText args: [NATIVE, xpath=(//[contains(@resource-id,‘password2’)])[1], 0, 1234]’, details: Failed to send text to 'xpath=(//[contains(@resource-id,‘password2’)])[1]’. ) (WARNING: The server did not provide any stacktrace information)”
@FindBy(xpath="//*[contains(@resource-id,‘password1’)]")
AndroidElement TypePassword;
@FindBy(xpath="//*[contains(@resource-id,'password2')]")
WebElement RepeatPassword;
public void EnterPassword() {
TypePassword.click();
TypePassword.sendKeys("1234");
RepeatPassword.sendKeys("1234");
It would be great if you have any workaround for this.