当前位置:网站首页>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
边栏推荐
- 【LeetCode】13. Linked List Cycle·环形链表
- PS simple to use
- @Valid的作用(级联校验)以及常用约束注解的解释说明
- [signal processing] weak signal detection in communication system based on the characteristics of high-order statistics with matlab code
- Chapter III queue
- 0 dynamic programming medium leetcode873. Length of the longest Fibonacci subsequence
- POC simulation attack weapon - Introduction to nucleus (I)
- 基于stm32的恒功率无线充电
- 【微信小程序开发(五)】接口按照根据开发版体验版正式版智能配置
- 【OpenGL】GLES20.glClear
猜你喜欢

Cesium3Dtilesets 使用customShader的解读以及泛光效果示例

【微信小程序开发(六)】绘制音乐播放器环形进度条
![[signal denoising] signal denoising based on Kalman filter with matlab code](/img/9e/9e569c83dc3106570cf7571056867f.png)
[signal denoising] signal denoising based on Kalman filter with matlab code

Canvas from getting started to persuading friends to give up (graphic version)
![[TA frost wolf \u may - hundred people plan] Figure 3.7 TP (d) r architecture of mobile terminal](/img/9c/695294c673aa559462b4afe8eb5253.png)
[TA frost wolf \u may - hundred people plan] Figure 3.7 TP (d) r architecture of mobile terminal

怎么简单实现菜单拖拽排序的功能

Job 7.27 IO process

Newline required at end of file but not found.

Say yes, I will love you, and I will love you well

Canonical Address
随机推荐
【自我成长网站收集】
trivy【1】工具扫描运用
[self growth website collection]
使用PyTorch的TensorBoard-可视化深度学习指标 | PyTorch系列(二十五)
特征值和特征向量
pytest最好的测试框架
[hcip] BGP Foundation
作业7.27 IO进程
Say yes, I will love you, and I will love you well
POC模拟攻击利器 —— Nuclei入门(一)
How is insert locked in MySQL? (glory Collection Edition)
JVM tuning -xms -xmx -xmn -xss
[software testing] - unittest framework for automated testing
【微信小程序开发(六)】绘制音乐播放器环形进度条
Find - block search
0动态规划中等 LeetCode873. 最长的斐波那契子序列的长度
软件产品第三方测试费用为什么没有统一的报价?
第三章 队列
1313_ Pyserial installation and document generation
第二季度邮件安全报告:邮件攻击暴增4倍,利用知名品牌获取信任