安装
官网的文档写的非常详细哦,按照官网文档一步一步来就行~\(≧▽≦)/~啦啦啦
Installation instructions:
https://github.com/robotframework/robotframework/blob/master/INSTALL.rst
1、Python, 一切的基础,安装路径不能有空格。安装时将“Add python.exe to Path” 勾选上,就不用再手动设置环境变量啦。
https://www.python.org/downloads/release
2、pip,Python 2.7.9+都自带了pip
https://pip.pypa.io/en/latest/installing/
所以如果担心自带的pip不是最新版的,update一下即可:
python -m pip install -U pip
3、robot framework
pip install robotframework
4、wxPython,使用ride的基础,注意要与安装的python版本一致,以及32/64位要与RF,Python一致
https://sourceforge.net/projects/wxpython/files/wxPython/
5、robot framework ride
pip instal robotframework-ride
6、selenium2library, 用selenium测试web用
pip install robotframework-selenium2library
7、appiumlibrary,用appium测试app用
pin install robotframework-appiumlibrary