monkeyrunner
文章平均质量分 78
xiaodanpeng
这个作者很懒,什么都没留下…
展开
-
MonkeyImage函数
A monkeyrunner class to hold an image of the device or emulator's screen. The image is copied from the screen buffer during a screenshot. This object's methods allow you to convert the image into vari转载 2012-12-27 10:36:43 · 697 阅读 · 0 评论 -
monkeyrunner
The monkeyrunner tool provides an API for writing programs that control an Android device or emulator from outside of Android code. With monkeyrunner, you can write a Python program that installs an A转载 2012-12-27 10:27:12 · 552 阅读 · 0 评论 -
MonkeyDevice函数
A monkeyrunner class that represents a device or emulator accessible by the workstation runningmonkeyrunner. This class is used to control an Android device or emulator. The methods send UI events, r转载 2012-12-27 10:35:20 · 737 阅读 · 0 评论 -
iQuery插件使用说明
刚刚上传了monkeyrunner的iQuery插件,完整下载和示例代码请在此下载: https://github.com/downloads/vowei/iQuery/iquery%20monkeyrunner%20plugin%20sample.zip 示例代码是随便找的针对大众点评写的,因此请确保手机上已经安装了大众点评的应用。示例代码下载后,请设置一个变量:“ANDROID_HOME”转载 2013-01-07 17:19:14 · 1051 阅读 · 0 评论 -
monkeyrunner入门之——控件交互总结
在写了两个monkeyrunner的自动化脚本之后,遇到了这样的问题,monkeyrunner无法处理gbk编码的中文.(我还没找到扩展的方法) 之前写的脚本需要获取button,然后对button进行点击.我是通过使用hierarchyviewer来查看各个控件的ID从而获取button的.下面对整个的流程做一个梳理 需要import的东西有:转载 2013-01-09 15:00:07 · 1098 阅读 · 0 评论