开发者

Android monkeyrunner crashes XWindows in Ubuntu

开发者 https://www.devze.com 2023-04-01 13:41 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消