2015年1月27日 星期二

Robot Framework 安裝

Ubuntu 14.04
Window 8

Ubuntu 14.04

  1. 安裝 python 2.7
    $ sudo apt-get install python2.7-dev
    $ sudo apt-get install python-setuptools
    $ sudo apt-get install python-pip
  2. 安裝 Robot Framework
    $ sudo pip install robotframework
    $ pybot --version
    
  3. 安裝 selenium2library
    $ sudo pip install --upgrade robotframework-selenium2library
    
  4. [OPTIONAL] 安裝 RIDE
    (wxpython is required for RIDE)
    $ gksu gedit /etc/apt/sources.list
    (append in the end of sources.list)
        deb http://apt.wxwidgets.org/ natty-wx main
        deb-src http://apt.wxwidgets.org/ natty-wx main
    $ curl http://apt.wxwidgets.org/key.asc | sudo apt-key add -
    $ sudo apt-get update
    $ sudo apt-get install wx2.8-headers libwxgtk2.8-0 libwxgtk2.8-dev
    $ sudo apt-get install python-wxgtk2.8
    $ sudo apt-get install python-wxversion
    
    (RIDE)
    $ sudo pip install robotframework-ride
    

Windows 8

  1. 安裝 python 2.7 (32bit)
  2. 至 PYPI 下載 robotframework (win32)
  3. 安裝 wxPython 2.8 (win32)
  4. 至 PYPI 下載 robotframework-ride (win32)
  5. 安裝 Selenium2Library

沒有留言:

張貼留言