UiAutomatorHelper的简单使用

来源:互联网 发布:阿里java校招面试 编辑:程序博客网 时间:2024/05/28 15:07

https://github.com/fan2597/UiAutomatorHelper/

下载下来之后导入到myeclipse中,将UiAutomatorHelper.java 复制到之前的那个src项目下,然后再在main函数里面新new 一个UiAutomatorHelper对象,有4个参数的那个,这四个参数分别配置好,(这里补全代码的按钮是Alt+/)

然后run as application,然后控制台就会输出相应的log日志。

代码截图:

 

 

 

原创粉丝点击