No able to do MobileElement.Sendkeys() on Numeric keyboard
Error Domain=com.facebook.WebDriverAgent Code=1 \"Keyboard is not present\"
appium --version
1.6.4
node --version
v7.9.0
IOS Sierra
Iphone SE Simulator OS 10.3
Can you send screenshot or video otherwise it is hard for me to guess what is wrong here
Same issue here, I tried adding some sleeps before accessing keyboard, but it seems that it still crashing:
{ "value" : "Error Domain=com.facebook.WebDriverAgent Code=1 \"Keyboard is not present\" UserInfo={NSLocalizedDescription=Keyboard is not present}", "sessionId" : "90260BF2-7B94-4B28-BBA1-47EE7FC2BB95", "status" : 13}
I added sleeps and it doesn't works. Need reproduce with other app ( can't use my company app due policy).
@VasilijSviridov could you record your app?
same here, can't record, but I can tell you that when it crashes the keyboard appears and disappears in about 0.3 seconds =) and this happens only 1 in 4 runs :/
ok so it looks other issue, in my case the keyboard is there.
well I am on real devices, where you are using simulator, also try to downgrade WDA to February version, suppose it should work.
Can you create failing test case in our testing app?
Or give some screenshots
ping
Could you give me the link to the testing APP?
I am also experiencing this issue. The cursor does not move from one field to the next.
return driver
.waitForElementById('username')
.clear()
.sendKeys('username') //works up to here
.waitForElementById('password')
.clear() //this clears the username!
Execute this in a bash script before your test: defaults write com.apple.iphonesimulator ConnectHardwareKeyboard -bool no. Turn off hardware keyboard as it seems to cause failures occasionally
This issue still exists in Appium version 1.13.0. Is there any definite solution to this issue?
This issue still exists in Appium version 1.13.0. Is there any definite solution to this issue?
I am facing this same issue. Soft Keyboard is Not Displayed in iOS
I think you first have to click on the input and only then sendKeys , let's hope this helps, also this solution not always works for simulators, only real devices.
Most helpful comment
This issue still exists in Appium version 1.13.0. Is there any definite solution to this issue?