NO IMAGE

原文地址為:robot framework環境搭建

一、 robot framework環境搭建

  官網:http://robotframework.org/

序號安裝包名安裝方法下載地址備註
1pythonexe檔案,直接雙擊安裝https://www.python.org/download/releases/2.7.8/ 一切的基礎,安裝路徑不能有空格
2setuptools下載ez_setup.py檔案,雙擊https://pypi.python.org/pypi/setuptoolsPython 的套件管理程式
3pip

1、cmd進入ez_setup.py檔案目錄

2、用setuptools安裝:easy_install pip

https://pip.pypa.io/en/latest/index.htmlPython 的套件管理程式
4robot framework1、pip install robotframework
2、原始碼:python setup.py install
3、exe檔案,直接雙擊安裝
https://pypi.python.org/pypi/robotframeworkrobot framework本身
https://github.com/robotframework/robotframework
5wxPythonexe檔案,直接雙擊安裝http://wxpython.org/download.php#stable支撐Ride的執行庫
6robotframework-ride1、pip install robotframework-ride
2、原始碼:pythont setup.py install
3、exe檔案,直接雙擊安裝
https://pypi.python.org/pypi/robotframework-rideride
7selenium2library1、pip install robotframework-selenium2library
2、原始碼:pythont setup.py install
3、exe檔案,直接雙擊安裝
https://pypi.python.org/pypi/robotframework-selenium2libraryselenium2測試庫,基於webdriver驅動
8cx_Oracleexe檔案,直接雙擊安裝http://sourceforge.net/projects/cx-oracle/files/

連線oracle用的(支援第9步)

 

9databaselibrary1、pip install robotframework-databaselibrary
2、原始碼:pythont setup.py install
https://github.com/franz-see/Robotframework-Database-LibraryDB庫
10requests
pip install requests
https://pypi.python.org/pypi/requests 支援第11步,否則RF引入RequestsLibrary庫會報錯
11RequestsLibrary
pip install -U robotframework-requests
https://github.com/bulkan/robotframework-requestshttp request庫

轉載請註明本文地址:robot framework環境搭建