SendKeys() not working for UIAKeyboard Numeric pad

I am trying to enter number in a textfield which takes numbers only.
When tapping on the textbox, the iOS Numeric Keypad is displayed.
sendKeys() is not working with the numeric pad. Any work arounds? Other than clicking on the xpaths of the UIAKey(s).


Used a workaround.

  • Tap on the textField()
  • Get pageobject for UIAKeyboard.
  • Used scripted method in pageobject to click on Number element. Found by name.

You can just send the keycodes.