How to Install Robot Framework on Windows

What is Robot Framework?

Robot Framework is a testing framework. The advantage of robot framework is it is keyword driven and has built-in libraries that makes it easy to use. The coding language used is python but there are ports to other languages such as Java.

How to Install?


  1. Must be familiar with Microsoft Windows 8 and up
  2. Must be familiar with the command prompt
  3. Must have a Chrome browser and Firefox browser installed
  4. Open the command line app

1. Install python

  1. Go to
  2. Download python for windows
  3. Install python

Type in the command line:

python –version

I recommend python 2.7 because it is most stable and compatible with robot framework as of Feb 2018.

2. Install pip

Type in the command line: 

python -m pip install –upgrade pip setuptools wheel

3. Install robot framework

Type in the command line:

pip install robotframework

4. Install selenium library

Type in the command line:

pip install robotframework-seleniumlibrary

5. Install chromedriver for chrome and geckodriver for firefox

  1. Download for windows
  2. Unzip to C:\bin

6. Configure Path

  1. Go to Control Panel\All Control Panel Items\System
  2. Click on Advanced system settings
  3. Go to Environment Variables
  4. Go to System Variables
  5. Find Path variable
  6. Edit Path variable
  7. Add the paths below and save

For Python27


For Python3


7. Optional Step: Run robot test on command line

If you already have a robot test file

Type in the command line: robot <filename>.robot

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s