当前位置:网站首页>app 自动化 环境搭建(一)
app 自动化 环境搭建(一)
2022-07-28 01:51:00 【will_net】
appium 开源 跨平台 多语言 移动应用 自动化工具
测试对象:原生,混合
环境搭建
selenium做为依赖包安装
如果 已经安装了selenium 版本比较旧的话 appium-python-client 和 selenium 版本不相符 可能会出现一些问题,可以使用下面这个命令,会更新依赖包
pip3 install -U appium-python-client
安装appium server
下载地址



安装andriod sdk
下载地址

下载之后解压,配置环境变量

打卡 Android

安装插件,访问的是国外地址,会有点慢
中国科学院开源协会镜像站地址:
IPV4/IPV6: http://mirrors.opencas.cn 端口:80
IPV4/IPV6: http://mirrors.opencas.org 端口:80
IPV4/IPV6: http://mirrors.opencas.ac.cn 端口:80
上海GDG镜像服务器地址:
http://sdk.gdgshanghai.com 端口:8000
北京化工大学镜像服务器地址:
IPv4: http://ubuntu.buct.edu.cn/ 端口:80
IPv4: http://ubuntu.buct.cn/ 端口:80
IPv6: http://ubuntu.buct6.edu.cn/ 端口:80
不用带http


安装jdk
下载地址
配置java 环境变量
查看java 版本号
java --version
安装逍遥模拟器(我安装的逍遥)
开启开发者模式
找到关于手机的选项,点击7下版本号,就会开启开发者模式,然后今日开发者选项,开启usb 调试
安装 appium-python-client包
pip3 install appium-python-client
查看设备
C:\Users\hgzh>adb devices -l
List of devices attached
127.0.0.1:21503 device product:PCRT00 model:PCRT00 device:PCRT00 transport_id:6
连接模拟器
adb connect 127.0.0.1:21503
边栏推荐
- 功能测试和非功能测试区别简析,上海好口碑软件测试公司推荐
- A 64 bit 8-stage pipelined adder based on FPGA
- 2022.7.8 supplement of empty Luna
- 【OpenGL】GLES20.glClear
- Chapter 3 business function development (batch export of market activities, Apache POI)
- The virtual host website cannot access the self-test method
- 第三章 队列
- 基于stm32的恒功率无线充电
- First knowledge of C language -- structure, branch and loop statements
- selenium+pytest+allure综合练习
猜你喜欢
![[leetcode] 13. linked list cycle · circular linked list](/img/58/c8796bb5ed96d09325b8f2fa6a709e.png)
[leetcode] 13. linked list cycle · circular linked list

First knowledge of C language -- operators and keywords, define, pointer

Use try-with-resources or close this

CNN中的混淆矩阵 | PyTorch系列(二十三)

Pychart shortcut key for quickly modifying all the same names on the whole page

【图像隐藏】基于DCT、DWT、LHA、LSB的数字图像信息隐藏系统含各类攻击和性能参数附matlab代码

ROS的调试经验

ERD online 4.0.0 free private deployment scheme

【ELM分类】基于核极限学习机和极限学习机实现UCI数据集分类附matlab代码

Find - block search
随机推荐
【信号去噪】基于卡尔曼滤波实现信号去噪附matlab代码
@Valid的作用(级联校验)以及常用约束注解的解释说明
Achievements in science and Technology (XXVIII)
The virtual host website cannot access the self-test method
Design of edit memory path of edit box in Gui
Is it safe to buy funds on Alipay? I want to make a fixed investment in the fund
【英雄哥七月集训】第 27天:图
LETV responded that employees live an immortal life without internal problems and bosses; Apple refuses to store user icloud data in Russia; Dapr 1.8.0 release | geek headlines
[brother hero's July training] day 26: check the collection
Email security report in the second quarter: email attacks have soared fourfold, and well-known brands have been used to gain trust
[leetcode] 13. linked list cycle · circular linked list
【信号处理】基于高阶统计量特征的通信系统中微弱信号检测附matlab代码
Common SQL statement query
Retainface use error: modulenotfounderror: no module named'rcnn.cyton.bbox'
第二季度邮件安全报告:邮件攻击暴增4倍,利用知名品牌获取信任
软件产品第三方测试费用为什么没有统一的报价?
Should programmers choose outsourcing companies
Compile and use Qwt in qt|vs2017
JS中的reduce()函数介绍
MySQL blocking monitoring script