Appium安装及配置(Windows环境)

在做app相关自动化测试,需要使用appium来做中转操作,下面来介绍一下appium的环境安装配置

appium官方文档: 欢迎 - Appium Documentation

一、下载appium

下载地址: https://github.com/appium/appium-desktop/releases?page=3

通过翻页查找指定版本进行下载

网盘获取:

链接:https://pan.baidu.com/s/1y1QaWGmJE0_yuJPcdll0Ow?pwd=gl3h

提取码:gl3h

二、安装appium

双击exe可执行程序,进行安装

点击 安装

一直下一步,点击成功

切换中文显示

点击编辑配置(Edit Configurations),出现默认配置,说明环境配置成功

三、**安装依赖包(**appium - python -- client)

appium - python -- client 目的是需要将 Python 与 appium 关联起来,首先需要安装 Python3.x ,进行环 境配置。配置的默认环境是本地的Python 环境,如果后期使用 pycharm 的虚拟环境,则需要在虚拟环境中再次安装。
在需要的环境下,输入命令:

pip install Appium-Python-Client

如果提示以下错误
则通过更换国内安装源和设置超时时间可以解决。在 pip install XXX 命令的后面加上:
--default-timeout=100 -i https://pypi.tuna.tsinghua.edu.cn/simple 即可。有时候只需更换国内安装源 便可解决问题。如下图所示

至此, appium 环境搭建成功!!

相关推荐
楚轩努力变强17 小时前
iOS 自动化环境配置指南 (Appium + WebDriverAgent)
javascript·学习·macos·ios·appium·自动化
ELI_He9993 天前
appium-doctor optional dependencies
appium
测试人社区—667912 天前
2025区块链分层防御指南:AI驱动的安全测试实战策略
开发语言·驱动开发·python·appium·pytest
测试199813 天前
如何使用Appium实现移动端UI自动化测试?
自动化测试·软件测试·python·测试工具·ui·appium·测试用例
HEADKON16 天前
米托坦Mitotane长期治疗中的疗效监测与基于毒性的个体化剂量调整
appium
shughui22 天前
Android SDK 下载、安装与配置(详细图文附安装包,适配Appium+Python自动化)
android·python·appium·android-studio·android sdk
未定义.22123 天前
第7篇:跨端拓展!Playwright+Appium实现Web+移动端全覆盖
python·ui·appium·自动化·jenkins·pytest
BullSmall1 个月前
自动化测试开发规范
selenium·测试工具·appium·自动化
BatyTao1 个月前
Appium-Inspector下载安装全攻略
appium
阿蔹1 个月前
UI测试自动化-Web-Python-Appium
前端·python·ui·appium·自动化