UIAutomator 2 While the API remains almost the same, the internal implementation has changed and we see the introduction of UIObject2//UIAutomator2简介. UIObject2 Unlike UiObject, the UIElement is bound to a particular view instance and can become st
Uiautomator的编译运行过程需要输入好几个命令,太麻烦. 花了点时间写了个简单的bat.方便多了.id输入当前使用的SDK ID号(android list target命令可以查看到),class输入测试类的完整名称,包括包名.放到项目目录下运行即可. @echo Now,uiautomator test start.. @pause @echo Please enter the android sdk id: @set /p id= @echo Please enter the fu