uiautomator 介绍
uiautomator 测试框架提高用户界面(UI)的测试效率,通过自动创建功能 UI 测试示例,可以在一个或者多个设备上运行你的应用。
更多详细内容请看 UI
Testing。
语法
在任务设备中运行你的测试示例,你可以使用 adb shell 命令来 invoke uiautomator 工具:
adb shell uiautomator runtest <JARS> -c <CLASSES> [options]
示例:
adb shell uiautomator runtest LaunchSettings.jar -c com.uia.example.my.LaunchSettings
uiautomator 官网
http://developer.android.com/tools/help/uiautomator/index.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。