当前位置:网站首页>APP自动化测试框架搭建(八)--ATX Server2多设备集群环境搭建
APP自动化测试框架搭建(八)--ATX Server2多设备集群环境搭建
2022-07-26 19:54:00 【拒绝内卷的小测试】
第一章 APP自动化环境搭建(Mac版)
第二章 APP自动化环境搭建(Windows版)
第三章 adb命令
第四章 元素定位、元素操作
第五章 APP自动化测试框架搭建 Python+Appium+pytest-html
第六章 uiautomator2、web-editor基础操作
第七章 Airtest基础操作
第八章 ATX Server2多设备集群环境搭建
文章目录
一、简介
ATX Server2是⼀个移动设备管理平台,主要是Python3+NodeJS+RethinkDB开发。用于集中管理我们的设备,以及远程运行测试用例。
搭建这样⼀套系统,需要:
1、atxserver2:
安装网址: https://github.com/openatx/atxserver2
2、atxserver2-android-provider:
安装网址:https://github.com/openatx/atxserver2-android-provider
3、node.js
安装网址:http://nodejs.cn/download/
4、rethinkdb
安装网址:https://rethinkdb.com/docs/install/
二、安装
1、Node.js
1.1 安装Node.js
安装网址:http://nodejs.cn/download/,根据电脑系统选择对应安装包下载,安装即可
1.2 验证Node.js
打开终端,输入命令node --version,能显示版本即安装成功
2、RethinkDB
2.1 安装RethinkDB
安装网址:https://rethinkdb.com/docs/install/,根据系统选择对应文件,安装好之后,运行该软件,文末附安装包

3、atxserver
安装网址: https://github.com/openatx/atxserver2,打开网址,将源码拉取下来。文末附压缩包
解压⽂件,然后使用pycharm新建⼀个虚拟环境,打开项目
打开终端下载依赖包: pip install -r requirements.txt
启动atxsetver服务,终端运⾏: python main.py
启动后,浏览器访问:http://localhost:4000/,输入name即可进入管理页面
⾄此,atxserver 已经搭建好了。
4、atxserver2-android-provider
安装网址:https://rethinkdb.com/docs/install/,打开网址,将源码拉取下来。文末附压缩包
解压⽂件,然后使用pycharm再新建⼀个虚拟环境,打开项目。打开终端下载依赖包: pip install -r requirements.txt
构建node依赖环境,打开终端运⾏: node install,如果下载超时,先设置镜像源npm config set registry https://registry.npm.taobao.org ,再次执行 node install
将手机设备连接上电脑,在确保adb连接设备的情况下,终端运行:python main.py --server localhost:4000。当服务起好后,控制台会输出设备信息
此时浏览器刷新设备列表,http://localhost:4000/devices,也可以看见连接上的设备信息,点击使用

⾄此,atxserver2-android-provider环境搭建完成。
三、资源下载
所需资源下载,点击此处。
随手点赞一次,运气增加一份。
边栏推荐
- 破题数据中心绿色可持续发展
- Small scenes bring great improvement! Baidu PaddlePaddle easydl helps AI upgrade of manufacturing assembly line
- 实验5 OSPF综合实验
- Software testing - development test content specification (project test template)
- 5.20晚上单身狗都在哪里?
- 为什么 ThreadLocal 可以做到线程隔离?
- 解决AttributeError: module ‘win32com.gen_py.00020813-0000-0000-C000-000000000046x0x1x9‘ has no attribu
- Ape tutoring's technological hard power: let AI start from reading children's homework
- LCP 11. 期望个数统计
- ES6 method & Class array into real array & method of judging array
猜你喜欢

Quick start to connection pooling

Kotlin - 协程上下文 CoroutineContext

NVIDIA Canvas 初体验~

查询字段较多时可以添加普通查询和高级查询两种情况

BUU刷题记2

聊天软件项目开发2

Array operations add, delete, modify, and query

Small scenes bring great improvement! Baidu PaddlePaddle easydl helps AI upgrade of manufacturing assembly line

App uploader download and installation

QT signal and slot connection (loose coupling)
随机推荐
This point - super classic interview questions
7.25模拟赛总结
分组卷积(Group Converlution)
【刷题记录】22. 括号生成
Bean注入和生命周期
Exchange 2010 SSL证书安装文档
arpspoof 安装和使用
Do employees have to compensate the company for losses when they resign? The 34 year old captain resigned and was claimed 10.66 million yuan by the company
第二章:遇到阻难!绕过WAF过滤!【SQL注入攻击】
QT signal and slot connection (loose coupling)
Experiment 5 OSPF comprehensive experiment
Small scenes bring great improvement! Baidu PaddlePaddle easydl helps AI upgrade of manufacturing assembly line
[experiment sharing] CCIE BGP routing black hole experiment]
The sandbox cooperates with artist Alec monopoly
员工辞职还得赔偿公司损失?34岁机长辞职被公司索赔1066万
软件测试-开发提测内容规范(项目提测模板)
Where are the single dogs in the evening of 5.20?
Leetcode's question brushing -- List summary
BGP的基本配置和聚合
一文读懂 Kubernetes的四种服务类型!