I have extensive test application written for monkeyrunner. There is about 30 use cases which takes about 20 minutes. It is pretty long, but I was never able to play it entirely, because whenever I am close to the end XWindow servers crashes - the console appear for few seconds and then the XWindows is starting from scratch.
I am using Ubuntu 9.10. The application is Android 2.3.2. I checked it on the Windows mac开发者_JAVA百科hine and it worked well.
Anyone encountered similar problem?
Run the script with the DISPLAY variable unset.
$ DISPLAY= monkeyrunner script.mr
Use MonkeyRunner.sleep(1)
between every Event.
精彩评论