robotframework Getting started with robotframework Installation or Setup


Example

Detailed instructions on getting Robot Framework set up or installed.

Robot framework is a generic test automation framework.This is implemented using Python and is supported on Python 2 and Python 3 Jython (JVM) and IronPython (.NET) and PyPy. For

  1. Acceptance testing
  2. Acceptance test-driven development (ATDD)

Prerequisites

  1. Install a interpreters
  2. Configuring PATH
  3. Setting https_proxy

Python has the most advanced implementations and it is suggested to use Python, if you do not have exceptional requirements.

Robot Framework VersionSupported interpreter Version
Robot Framework 3.0Python 2.6
Robot Framework 3.0Python 2.7
Robot Framework 3.0Python 3.3
Robot Framework 3.0Jython 2.7 & Java 7
Robot Framework 3.0IronPython 2.7
Robot Framework 2.5-2.8Python 2.5
Robot Framework 2.5-2.8Jython 2.5
Robot Framework 2.0-2.1Python 2.3
Robot Framework 2.0-2.1Python 2.4
Robot Framework 2.0-2.1Jython 2.2

Python installation

Desired version of python can be downloaded from https://www.python.org/downloads/

Jython installation

An installer can be found at http://jython.org. You can run this executable JAR package from the command line like javaava -jar jython_installer-.jar.

IronPython installation

An installer can be found at http://ironpython.net/download/ for IronPython 2.7.When using IronPython, an additional dependency is installing elementtree module 1.2.7

Configuring PATH & Setting https_proxy

Add Python installation directory (by default C:\Python27, C:\Python27\Scripts, C:\jython2.7.0\bin etc on windows ) and Scripts directory to the beginning of your path variable

Value of https_proxy should be the URL of the proxy. This is required when these packages are installed with pip and you are in a proxy network

Installing Robot Framework with pip

Install the latest version of robotframework

pip install robotframework

Install a specific version

pip install robotframework==2.0

Installing Robot Framework from source

Source distribution of Robot Framework can be found at https://code.google.com/archive/p/robotframework/downloads.Robot Framework is installed from source using Python's standard setup.py script in the source scripts directory

python setup.py install
jython setup.py install
ipy setup.py install