-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uia_type_string enters loop when trying to type a key that does not exist on the keyboard - UITextFields only #310
Comments
I am having the same issue on iOS 7.0.3 simulator and continuously reproducible . I am using Xcode 5.0.2, calabash 0.9.166 |
@Goginenni thanks for confirming. we are trying to sort out what the problem is. |
Please have a look at your string and check the keyboard you are using for input. Does that keyboard have all the keys necessary to type the string? For example, the default keyboard does not have the backtick ( ` ) character, but the email keyboard does. |
ATTN: @krukow
Here is a video demonstrating the behavior. https://s3-eu-west-1.amazonaws.com/littlejoysoftware-eu/public/2014-02-22_03-48-57.mp4 Reproduced in briar-ios-example master
reproduce
expected
foundcalabash tries to type the text many (5+) times before failing with this very confusing exception:
regressionsince 0.9.165 - uia_key_board optimizations notesThis only happens on UITextFields - which is consistent with my understanding of the 0.9.165 fix Expected BehaviorIf a key cannot be found, It should not, however, try to re-type the string over and over before failing. This also cause the ScriptAgent process to hang and/or crash. |
Should be fixed in 0.11.5.pre3 - #630 Please reopen if you see fit. |
possible related to #269
seen on:
example:
reproduce
not reproducible on the console
seems to occur more often when the device is rotated
The text was updated successfully, but these errors were encountered: