因为robotframework基于关键字驱动的自动化测试框架,自动化脚本编写,需要准备相关的库、以及对应驱动程序。
有些库安装若下载超时,则需要翻墙才能安装。此时可设置pypi镜像:
(pypi : Python Package Index )
1、设置默认镜像
pip config set global.index-url [pypi镜像url]
国内镜像可选:
阿里云:http://mirrors.aliyun.com/pypi/simple/
清华:https://pypi.tuna.tsinghua.edu.cn/simple
豆瓣:http://pypi.douban.com/simple2、设置临时镜像
pip install -i [pypi镜像url] [some-package]
3、查看默认定镜像
pip config list
一、安装拓展库:
1、robotframework-appiumlibrary (app自动化测试扩展库)
pip install robotframework-appiumlibrary
介绍:
与 Android 和 iOS