zoukankan      html  css  js  c++  java
  • 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
    *
    */

  • 相关阅读:
    ActiveMQ-在Centos7下安装和安全配置
    Servlet基础知识点
    Filter的执行顺序
    Dubbo-使用Maven构建Dubbo服务的可执行jar包
    Dubbo-Centos7管控台安装
    Spring 小知识点
    Zookeeper+ActiveMQ集群搭建
    Zookeeper在Centos7上搭建单节点应用
    SpringMVC+AJAX+JSON
    RocketMQ-Filer
  • 原文地址:https://www.cnblogs.com/xyzlmn/p/3168181.html
Copyright © 2011-2022 走看看