robotframework Installing Robot Framework 3.0 on a Windows Machine using Python 2.7.11


This is a quick guide to get Robot Framework 3.0 working on a Windows machine using Python 2.7.11 - It does not go into too much depth on the why and how, it simply gets you up and running. First things are first, let't go and install Python!

  1. Download Python 2.7.11 for Windows. (Windows x86-64 MSI installer or Windows x86 MSI installer depending on architecture)

  2. Run through the install, making sure you install "pip" and that you opt in for the "Add python.exe to Path" (You may have to restart your machine to take advantage of the Python PATH. In this guide, it presumes you don't have that luxury)

  3. Once it is installed, let's do a quick check to make sure it installed correctly. Run CMD as admin and navigate to where Python was installed to cd C:\Python27 and type in python -V. It should return "Python 2.7.11"

That is it, Python is now installed to your machine. The next part is getting the Robot Framework Installed on your machine using pip.

  1. First, let's make sure we have the latest version of pip, by first navigating to the scripts directory within Python cd C:\Python27\Scripts and then entering python -m pip install -U pip. It should say that you have the most up to date version installed!

  2. Next, lets install Robot Framework by entering pip install robotframework

  3. Once pip has finished downloading and installing the files, enter robot --version to make sure it installed correctly. It should say Robot Framework 3.0 (Python 2.7.11 on win32/64)

  4. (Optional) If in the future there is an update for Robot Framework, you can run this command pip install --upgrade robotframework