Consider this scenario:
- You have a textbox in which you have to write some text “abcd”
- Next you have to verify if the entered text belongs to the correct character set (like UTF – 8) or simply you have to verify that “abcd” has been entered into the text box
This was asked to me in an interview.I had to write a monkeyrunner script that could do the above mentioned two operations. 1st one was damn easy. Any comments on the 2nd one?
Using AndroidViewClient this monkeyrunner script could be as simpler as