当前位置:网站首页>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环境搭建完成。
三、资源下载
所需资源下载,点击此处。
随手点赞一次,运气增加一份。
边栏推荐
- 查询字段较多时可以添加普通查询和高级查询两种情况
- 第二章:遇到阻难!绕过WAF过滤!【SQL注入攻击】
- 任务一 报告
- QT driving school subject examination system -- from implementation to release
- MySQL InnoDB engine (V)
- Student's t distribution
- Fitting the new direction of curriculum standards, ape guidance, creating a characteristic new concept content system
- Kotlin - 协程构建器 CoroutineBuilder
- This point - super classic interview questions
- Task 2 kaggle diabetes detection
猜你喜欢

员工辞职还得赔偿公司损失?34岁机长辞职被公司索赔1066万

How to implement an asynchronous task queue system that can handle massive data (supreme Collection Edition)

小场景带来大提升!百度飞桨EasyDL助力制造业流水线AI升级

Servlet

The first training course was a perfect success (๑ㅂ•) و*

Depthwiseseparableconvolution: depthwise convolution and pointwise convolution

QT驾校科目考试系统——从实现到发布

MPLS 多协议标签交换技术

EasyCVR设备管理列表页面,分页数据不显示的问题修复

Exchange 2010 SSL证书安装文档
随机推荐
C # convert PDF files into pictures
为什么 ThreadLocal 可以做到线程隔离?
Fitting the new direction of curriculum standards, ape guidance, creating a characteristic new concept content system
Cookies and sessions
Student's t distribution
App Uploader下载安装
Servlet
第二章:遇到阻难!绕过WAF过滤!【SQL注入攻击】
LCP 11. 期望个数统计
QT driving school subject examination system -- from implementation to release
How to praise others gracefully? Try these methods
一文读懂 Kubernetes的四种服务类型!
tf.GraphKeys
「企业管理」精诚CRM+——一体化管理企业业务流程
The first training course was a perfect success (๑ㅂ•) و*
Solve attributeerror: module 'win32com.gen_ py. 00020813-0000-0000-C000-000000000046x0x1x9‘ has no attribu
Where are the single dogs in the evening of 5.20?
解决AttributeError: module ‘win32com.gen_py.00020813-0000-0000-C000-000000000046x0x1x9‘ has no attribu
Gartner发布最新《中国AI初创企业市场指南》,弘玑Cyclone再次被评为代表性企业
小场景带来大提升!百度飞桨EasyDL助力制造业流水线AI升级