移动设备异地调试
移动设备管理,重启,关机,网络管理
结合设备管理平台完成app UI自动化测试
异常调试时延迟可接受,画质可接受
Python3+NodeJS+RethinkDB
建议使用真机调试,模拟机可能不行,需使用USB调式模式
安装
- 安装rethinkdb数据库
https://rethinkdb.com/docs/install
下载rethinkdb的deb文件,手动安装
https://github.com/srh/rethinkdb/releases/tag/v2.3.6.srh.1
sudo dpkg -i rethinkdb_2.3.6.srh.1.0bionic_amd64.deb
- 安装atxserver2
git clone https://github.com/openatx/atxserver2.git
cd atxserver2virtualenv venvpip install -r requirements -i https://pypi.douban.com/simplepython main.py # 服务端口 http://xxxxx:4000
- 安装atxserver2-android-provider方法
安装nodejs8
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
下载atxserver2-android-provider项目
git clone https://github.com/openatx/atxserver2-android-provider.git
cd atxserver2-android-providervirtualenv venvpip install -r requirements -i https://pypi.douban.com/simplepython main.py --server http://xxxxx:4000 # atxserver2的端口
Provider可以通过adb track-devices自动发现已经接入的设备,会向移动设备推送下面5个文件
- minicap
- minitouch
- atx-agent
- app-uiautomator-[test].apk
- whatsinput-apk
