我正在运行 robotsium 脚本来测试应用程序。在点击“完成”按钮应用程序崩溃后的一种情况下,此时我的机器人脚本停止工作。如何使用机器人处理这种情况,有什么方法可以让我知道应用程序崩溃了。
问问题
487 次
1 回答
0
Unfortunately Instrumentation tests live in the same process as your application, if you applications process crashes so do your tests. The way you can figure out your app crashed is that the instrument command process will end with an error code and then you will have to combine that with logcat to get the actual error that occurred.
于 2013-03-18T10:49:13.097 回答