I use MonkeyTalk to automate some custom test cases for my Android app. Everything works fine, except when I try to detect a button containing this line:
"Connect\n(Code Required)"
I get this error:
FAILURE: Unable to find Button(Connect\n(Code required))
If I changed the button to “Connect” and clicked on this value, then MonkeyTalk has no problems, but something about line breaks should be disabled.
After some searching, I found this thread that confirmed my suspicion of line breaks. Here it was suggested to fix the error in order to set the default encoding for UTF-8 (choose "Project"> "File"> "Properties"> "Resources")
However, this did not work for me.
:
"*(Code Required)"
, , .
, , ?
!