如何使用MonkeyRunner和Robotium一起(未单独!) [英] How to use MonkeyRunner and Robotium together (not separately!)
问题描述
如何使用MonkeyRunner和Robotium在一起(不单独!)来测试我的Android应用
How to use MonkeyRunner and Robotium together (not separately!) for testing my Android app
推荐答案
好吧,我发现这个
的http://download.yandex.ru/company/experience/yac2012/kharitonenko_yac_2012.pdf
幻灯片#22。还有一个方案,如何使用Robotium和Monkeyrunner的组合。
例如,当你的测试,你需要从Android原生相机快照,Robotium不能做到这一点。 Monkeyrunner可以做到这一点。但是大部分的测试用例开发Robotium,所以我的理解,你可以为这个动作运行monkeyrunner脚本,然后继续Robotium。我说得对不对?
slide #22. There is a scheme, how to use a combination of Robotium and Monkeyrunner. For example, when in your tests, you need to take a snapshot from Android native Camera, and Robotium can't do that. Monkeyrunner can do it. But most of your test case developed in Robotium, so as I understood, you can run monkeyrunner script for this action, and then continue with Robotium. Am I right?
这篇关于如何使用MonkeyRunner和Robotium一起(未单独!)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!