[Robot Framework] 在Windows 環境安裝RIDE

最近在windows下安裝Robot Framework.

這邊做個簡單記錄.

  1. 下載 Python
  2. 設定環境變數
    Control Panel\System and Security\System => Advanced System settings ==> Environment Variables ==> path: add ";C:\Python27;C:\Python27\Scripts"
    預設是 C:\Python27\ , 這邊可以改成自己的
  3. 安裝 pip
    下載網址. (https://pip.pypa.io/en/stable/installing/)
    若有需要自行設定pip 的proxy
    $ set http_proxy=http://${yourproxy}
    $ set https_proxy=http://${yourproxy
    下載手動安裝執行
    $ python get-pip.py
  4. 升級 pip
    $ python -m pip install --upgrade robotframework
  5. Install Robot Framework.
    $ python -m pip install robotframework
  6. 驗證Robot Framework安裝完成.
    $ python -m robot --version
    Robot Framework 3.0.2 (Python 2.7.14 on win32)
  7. Install selenium2library
    $ python -m pip install robotframework-selenium2library
  8. Install wxPython
    $ python -m pip install -U wxPython
    100% |████████████████████████████████| 22.9M MB
    52kB/s
    Collecting six (from wxPython)
    Downloading six-1.11.0-py2.py3-none-any.whl
    Installing collected packages: six, wxPython
    Successfully installed six-1.11.0 wxPython-4.0.0b2
    And download here.
    https://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
    And execute the installation wizard.
  9. Install RIDE
    $ python -m pip install robotframework-ride
    100% |████████████████████████████████| 583kB 846kB/s
    Building wheels for collected packages: robotframework-ride
    Running setup.py bdist_wheel for robotframework-ride ... done
    Stored in directory: C:\xxxxxxxx\
    Successfully built robotframework-ride
    Installing collected packages: robotframework-ride
    Successfully installed robotframework-ride-1.5.2.1
  10. Execute ride.py to run the RIDE.

It works. Done.