大家快去升级JLB 4.2吧,uiautomator正式发布了

传送门:http://blog.csdn.net/robinzhou/article/details/8447058

具体功能,还没有试,之后会更新

源代码: "uiautomator.zip" http://vdisk.weibo.com/s/ajwux


Usage: uiautomator <subcommand> [options]

Available subcommands:

help: displays help message

runtest: executes UI automation tests
runtest <class spec> [options]
<class spec>: <JARS> [-c <CLASSES> | -e class <CLASSES>]
<JARS>: a list of jar file containing test classes and dependencies. If
the path is relative, it's assumed to be under /data/local/tmp. Use
absolute path if the file is elsewhere. Multiple files can be
specified, separated by space.
<CLASSES>: a list of test class names to run, separated by comma. To
a single method, use TestClass#testMethod format. The -e or -c option
may be repeated.
options:
--nohup: trap SIG_HUP, so test won't terminate even if parent process
is terminated, e.g. USB is disconnected.
-e debug [true|false]: wait for debugger to connect before starting.
-e runner [CLASS]: use specified test runner class instead. If
unspecified, framework default runner will be used.
-e <NAME> <VALUE>: other name-value pairs to be passed to test classes.
May be repeated.

dump: creates an XML dump of current UI hierarchy
dump [file]
[file]: the location where the dumped XML should be stored, default is
/storage/sdcard0/window_dump.xml

events: prints out accessibility events until terminated

更多相关文章

  1. Android系统编译so库提示error undefined reference to '__andro
  2. Android数据过滤器:Filter
  3. ubuntu下android源代码以及内核的获取
  4. 在ubuntu下编译android和linux版webrtc的步骤
  5. Android(安卓)Studio项目混淆后输出的文件所在位置
  6. Android开启闪光灯的方法 Android打开手电筒功能
  7. "Copy" did not complete normally. Please see the log for mor
  8. Android仿ios微信左划条目删除、置顶的实现,代码简洁,更容易理解使
  9. android性能分析工具整理

随机推荐

  1. 酷盘PC版查看酷盘文件可以通过多种方式(A
  2. Android的自定义图片按钮ImageButton【第
  3. Android(安卓)UI开发专题
  4. Android(安卓)Activity启动流程分析-----
  5. 视频日志之android的总结与思考
  6. Android中的多级联动
  7. 对Android中的Cursor一些浅显见解
  8. Android(安卓)framwork 分析之智能指针Li
  9. 配置整理——如何在Android(安卓)studio
  10. 将VitamioBundle工程作为Android(安卓)Li