Robot Framework安装配置 Linux

Simple introduction

Robot Framework is a generic test automation framework for acceptance testing and acceptance test-driven development (ATDD). It has easy-to-use tabular test data syntax and it utilizes the keyword-driven testing approach. Its testing capabilities can be extended by test libraries implemented either with Python or Java, and users can create new higher-level keywords from existing ones using the same syntax that is used for creating test cases.

Set up

1.Python
    $ python --version
    Python 2.6.6


2.Robot Framework
(1)Download "robotframework-2.8.6.tar.gz"

https://pypi.python.org/pypi/robotframework .
(2)tar zxf robotframework-2.8.6.tar.gz
(3)cd robotframework-2.8.6
(4)python setup.py install
(5)Use following command to verify whether we have installed successfully:
$ pybot --version
Robot Framework 2.8.6 (Python 2.6.6 on linux2)


3.WxPython
(1)Download "wxPython-2.8.12.0-1.el6.x86_64.rpm"

http://rpm.pbone.net/index.php3/stat/4/idpl/15798779/dir/redhat_el_6/com/wxPython-2.8.12.0-1.el6.x86_64.rpm.html
(2) yum install wxPython-2.8.12.0-1.el6.x86_64.rpm


4.Ride
(1)Download "robotframework-ride-1.2.3.tar.gz"

 https://pypi.python.org/pypi/robotframework-ride/1.2.3
(2)tar zxf robotframework-ride-1.2.3.tar.gz
(3)cd robotframework-ride-1.2.3
(4)python setup.py install


5.Selenium2Library
(1)Download "robotframework-selenium2library-master.zip”

https://github.com/rtomac/robotframework-selenium2library
(2)unzip robotframework-selenium2library-master.zip
(3)cd robotframework-selenium2library-maste
(4)python setup.py install

原文地址:https://www.cnblogs.com/miniren/p/4885748.html