一、 robot framework环境搭建:
序号 | 安装包名 | 安装方法 | 下载地址 | 备注 |
1 | python | exe文件,直接双击安装 | https://www.python.org/download/releases/2.7.8/ | 一切的基础,安装路径不能有空格 |
2 | setuptools | 下载ez_setup.py文件,双击 | https://pypi.python.org/pypi/setuptools | Python 的套件管理程式 |
3 | pip |
1、cmd进入ez_setup.py文件目录 2、用setuptools安装:easy_install pip |
https://pip.pypa.io/en/latest/index.html | Python 的套件管理程式 |
4 | robot framework | 1、pip install robotframework 2、源码:python setup.py install 3、exe文件,直接双击安装 |
https://pypi.python.org/pypi/robotframework | robot framework本身 |
https://github.com/robotframework/robotframework | ||||
5 | wxPython | exe文件,直接双击安装 | http://wxpython.org/download.php#stable | 支撑Ride的运行库 |
6 | robotframework-ride | 1、pip install robotframework-ride 2、源码:pythont setup.py install 3、exe文件,直接双击安装 |
https://pypi.python.org/pypi/robotframework-ride | ride |
7 | selenium2library | 1、pip install robotframework-selenium2library 2、源码:pythont setup.py install 3、exe文件,直接双击安装 |
https://pypi.python.org/pypi/robotframework-selenium2library | selenium2测试库,基于webdriver驱动 |
8 | cx_Oracle | exe文件,直接双击安装 | http://sourceforge.net/projects/cx-oracle/files/ |
连接oracle用的(支持第9步)
|
9 | databaselibrary | 1、pip install robotframework-databaselibrary 2、源码:pythont setup.py install |
https://github.com/franz-see/Robotframework-Database-Library | DB库 |
10 | requests |
pip install requests |
https://pypi.python.org/pypi/requests | 支持第11步,否则RF引入RequestsLibrary库会报错 |
11 | RequestsLibrary |
pip install -U robotframework-requests |
https://github.com/bulkan/robotframework-requests | http request库 |
http://www.cnblogs.com/puresoul/p/3854963.html
时间: 2024-10-28 01:58:30