安装python2.7
升级pip的版本
python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/
安装pip install wxPython -i https://pypi.tuna.tsinghua.edu.cn/simple/
安装pip install RobotFramework -i https://pypi.tuna.tsinghua.edu.cn/simple/
安装pip install robotframework-ride -i https://pypi.tuna.tsinghua.edu.cn/simple/
是否创建桌面图标的意思点yes
pip install decorator -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install robotframework-selenium2library -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install robotframework-archivelibrary -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install robotframework-SSHLibrary -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install robotframework-ftplibrary -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install robotframework-appiumlibrary -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install Appium-Python-Client==0.52 -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install robotframework-appiumlibrary -i https://mirrors.aliyun.com/pypi/simple/
python -m pip uninstall robotframework-appiumlibrary
这个是我的安装列表
4、安装三大浏览器驱动driver
1)、chromedriver 下载地址:
http://chromedriver.storage.googleapis.com/index.html
http://npm.taobao.org/mirrors/chromedriver/
2)、Firefox的驱动geckodriver 下载地址:
https://github.com/mozilla/geckodriver/releases/
3)、IE的驱动IEdriver 下载地址:
http://selenium-release.storage.googleapis.com/index.html
这个是我的浏览器对应的驱动
链接:htt删除我ps://p删除我an.ba删除我idu.com/删除我s/1v406w删除我Mpmy68l删除我LcnJ删除我e5YXzQ
提取码:ti删除我oo
测试 打开百度搜索
脚本对应的gc是谷歌浏览器 ff火狐浏览器 ie是ie浏览器
PS:创建项目的时候不要使用中文名称,中文会报错,还有运行要设置robot,RobotFramework3.1以上版本不支持pybot
老版本支持pybot