如何使用MonkeyRunner和Robotium一起(未单独!) [英] How to use MonkeyRunner and Robotium together (not separately!)

查看:227
本文介绍了如何使用MonkeyRunner和Robotium一起(未单独!)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用MonkeyRunner和Robotium在一起(不单独!)来测试我的Andr​​oid应用

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆