Install Robot Framework RIDE through homebrew

Python, wxPython and robotframework RIDE on your Mac OS X

Updated on Feb 23, 2016

Fixed wxPython installation so it works with most recent versions available today.

Updated on Jul 03, 2017

Seems this installation method no longer works on >= MacOS Sierra. Please use a docker image and Ride in browser.


Since wxPython is available on homebrew you don’t have to install the package provided on the wxPython website.

$ brew info wxpython
wxPython: stable (bottled)
Python bindings for wxWidgets
/usr/local/Cellar/wxPython/ (1,107 files, 38.2M)
  Poured from bottle
==> Dependencies
Required: wxmac ==> Options
$ brew install wxpython

This will take some time so be patient.

Robot Framework

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 utilizes the keyword-driven testing approach.

For sure you have to define a lot of keywords, but if you setup your project templates in a keywords file once you’ll get quite readable test files, even for a non-developer.

Installing robotframework-ride and robotsuite is quite easy by using pip:

$ pip install robotframework-ride
Collecting robotsuite
Collecting robotframework-ride
Collecting robotframework>=2.8rc1 (from robotsuite)
Installing collected packages: robotframework, robotsuite, robotframework-ride
Successfully installed robotframework-3.0 robotframework-ride- robotsuite-1.7.0

Ride executable was installed in /usr/local/bin/ If you try to start RIDE now, you’ll get following error:

wxPython not found.
You need to install wxPython with unicode support to run RIDE.
wxPython can be downloaded from

Patch robotframework-ride’s wx detection

Find your robotide python egg and open its On my machine this was located in /usr/local/lib/python2.7/site-packages/robotide.

You’ll have to update wxversion detection, so add following line:

    import wxversion
    from wxversion import VersionError
    if sys.platform == 'darwin': # CAN NOT IMPORT IS_MAC AS THERE IS A wx IMPORT
    import wx

That’s it, now let’s start

Starting RIDE

If you’ve added /usr/local/bin to you’re PATH environment variable you should be able to start ride by typing on your command line.:

Creating librarykeywords database to "/Users/daniel/.robotframework/ride/librarykeywords.db"


If you have any trouble in future, just delete the ~/.robotframework directory, and you can startup the application again.


comments powered by Disqus