当前位置:网站首页>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
边栏推荐
- LoRaWAN中的网关和chirpstack到底如何通信的?UDP?GRPC?MQTT?
- Some shortest path problems solved by hierarchical graph
- P6118 [JOI 2019 Final]珍しい都市 题解
- Pychart shortcut key for quickly modifying all the same names on the whole page
- Interpretation of cesium3dtilesets using customshader and examples of Omni effects
- AWS elastic three swordsman
- [image hiding] digital image information hiding system based on DCT, DWT, LHA, LSB, including various attacks and performance parameters, with matlab code
- 1313_ Pyserial installation and document generation
- 【TA-霜狼_may-《百人计划》】图形3.7 移动端TP(D)R架构
- Lombok prompts variable log error when using JUnit test in idea
猜你喜欢

使用PyTorch的TensorBoard-可视化深度学习指标 | PyTorch系列(二十五)

Please, don't use the command line to configure MySQL master-slave replication. Isn't it fragrant to deploy with urlos interface?

unordered_map的hash function及hash bucket存储方式探索

【 图像去雾】基于暗通道和非均值滤波实现图像去雾附matlab代码

入职华为od一个月的感受

Compile and use Qwt in qt|vs2017

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
![[signal processing] weak signal detection in communication system based on the characteristics of high-order statistics with matlab code](/img/a7/8f0d929457d285adc8020c7f5d33ea.png)
[signal processing] weak signal detection in communication system based on the characteristics of high-order statistics with matlab code

Center-based 3D Object Detection and Tracking(基于中心的3D目标检测和跟踪 / CenterPoint)论文笔记

作业7.27 IO进程
随机推荐
What can you say to comfort your girlfriend or daughter-in-law
[brother hero's July training] day 26: check the collection
Deep residual learning for image recognition shallow reading and Implementation
【OpenGL】GLES20.glClear
【英雄哥七月集训】第 27天:图
基于stm32的恒功率无线充电
Hardware standard
Why is there no unified quotation for third-party testing fees of software products?
Digital twin agriculture - Smart agriculture rice processing plant has changed from "watching the sky to eat" to "knowing the sky to work"
"The faster the code is written, the slower the program runs"
【OpenGL】GLES20.glClear
Canonical Address
[image defogging] image defogging based on dark channel and non-mean filtering with matlab code
Pycharm 快速给整页全部相同名称修改的快捷键
Welcome to CSDN markdown editor Assad
[software testing] - unittest framework for automated testing
Cesium3Dtilesets 使用customShader的解读以及泛光效果示例
Share an esp32 relay
Arm32进行远程调试
retainface使用报错:ModuleNotFoundError: No module named 'rcnn.cython.bbox'