Able to type non numeric/special characters in a numeric locked text field

Hi,

I am able to type non numeric/special characters in a numeric locked text field.

I tried using sendkeys() and setValue() with and without cap.setCapability(“unicodeKeyboard”, true);, but still able to type somehow.

java-client - 5.0.0-BETA6
Appium version - 1.8.0-beta3

Have you tried doing this manually? Honestly it sounds like a bug in the app.

Initially I also thought that this could be a bug, but as can be seen in screenshot, the keypad is numeric, and alphabets can’t be typed, so manually its not reproducible. But only when script is trying to type its able to.

Ok, that’s reasonable. Ever heard the joke about the patient who tells the doctor, “It hurts when I do this.”. Doctor says, “Don’t do that.”. I think you are in a situation where the automation is going beyond the user’s ability when they use the app. You may have to just rework the test case.

You can, of course, file a bug if you are so inclined. Seems like one to me.

1 Like

Can you check the following in your app

  1. copy/paste non numeric characters
  2. Error after entering non numeric character