一、 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庫 |