sendKey is adding extra character from keyboard in input box field


#1

I am trying to test login using appium for an iOS app but noticed that password field is adding extra characters, although user field is accepting exact value whatever I am entering. Locally working absolutely fine(appium version :1.8.1) but failing on aws with appium version 1.7.1.

I tried following:

  1. elem.clear,sendKeys(password+Keys.Return)
  2. MobileElement
  3. Just entering the value in password field then clicking the log in button.

Please help me with this issue.

Thanks,
Anshika


#2

can you share appium log


#3

why you concatenate the Keys.Return? you say are clicking in the Login button, i presume it is not necessary and that’s what it is causing the extra character;