• Android自动测试之MonkeyRunner之monkeyrunner


    A monkeyrunner class that contains static utility methods.

    Methods
                    void            alert                (string message,                 string title,                 string okTitle)           
                    Displays an alert dialog to the process running the current                program.           
    integer choice                (string message,                 iterable choices,                 string title)           
    Displays a dialog with a list of choices to the process running the current program.
                    void            help                (string format)           
                    Displays the monkeyrunner API reference in a style similar to that of Python's                pydoc tool, using the specified format.           
    string input                (string message,                 string initialValue,                 string title,                 string okTitle,                 string cancelTitle)           
                    Displays a dialog that accepts input.           
                    void            sleep                (float seconds)           
                    Pauses the current program for the specified number of seconds.           
    MonkeyDevice waitForConnection                (float timeout,                string deviceId)           
                    Tries to make a connection between the monkeyrunner backend and the                specified device or emulator.           

    http://www.devdiv.com/android/docs/guide/developing/tools/MonkeyRunner.html

    /**
    * @author 张兴业
    * 邮箱:xy-zhang@163.com
    * qq:363302850
    *
    */

  • 相关阅读:
    Angularjs中添加ckEditor插件
    Angularjs中添加HighCharts
    ngTbale真分页实现排序、搜索等功能
    移动端小功能杂记(三)
    Html5 history Api简介
    移动端流程页处理
    Html5离线缓存简介
    多Tabs的横向滚动插件(支持Zepto和jQuery)
    flutter从零开始第一篇-环境搭建(Windows)
    vue 父子组件与全局数据传递共享
  • 原文地址:https://www.cnblogs.com/xyzlmn/p/3168181.html
Copyright © 2020-2023  润新知