ATX

ATX目前已经分成了两个项目

一、安卓 https://github.com/openatx/uiautomator2 简称u2

对于安卓应用的测试,如果不需要用到图像识别,推荐使用这个项目uiautomator2

二、苹果 https://github.com/openatx/facebook-wda

对于iOS应用的测试,如果不需要用到图像识别,推荐使用这个项目facebook-wda

安卓测试依赖

  • ADB

  • ATX手机助手.apk

    该App为自动化提供了输入法的功能,屏幕常量等功能 命令行安装 python -m atx install atx-assistant

iOS测试依赖

  • WebDriverAgent

    由于WebDriverAgent更新过快,atx的一个依赖库facebook-wda还跟不上他更新的速度,下载完WDA后,请切换到这个版本

     git reset --hard a8def24ca67f8a74dd709b899c8ea539c9c488ea
    

    你的iPhone手机需要连接到Mac上,然后Mac安装WebDriverAgent,通常对Xcode部署的人搭WDA的人会遇到不少问题,搞不定继续参考这里 https://testerhome.com/topics/7220

    WDA成功启动后,会生成一个用于ATX连接的http地址,比如http://localhost:8100

资料:

https://github.com/NetEaseGame/ATX

https://github.com/openatx/atx-agent

 https://www.jianshu.com/p/d21fc1040589

https://blog.csdn.net/weixin_30828379/article/details/95517235

原文地址:https://www.cnblogs.com/ruguokeyi/p/11855241.html