This section provides an overview of what robotframework is, and why a developer might want to use it.
It should also mention any large subjects within robotframework, and link out to the related topics. Since the Documentation for robotframework is new, you may need to create initial versions of those related topics.
Version | Release date |
---|---|
Robot Framework 3.0.2 | 2017-02-14 |
Robot Framework 3.0.1 | 2017-01-06 |
Robot Framework 3.0 | 2015-12-31 |
Robot Framework 2.9.2 | 2015-10-09 |
Robot Framework 2.9.1 | 2015-08-28 |
Robot Framework 2.9 | 2015-07-30 |
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
Python has the most advanced implementations and it is suggested to use Python, if you do not have exceptional requirements.
Robot Framework Version | Supported interpreter Version |
---|---|
Robot Framework 3.0 | Python 2.6 |
Robot Framework 3.0 | Python 2.7 |
Robot Framework 3.0 | Python 3.3 |
Robot Framework 3.0 | Jython 2.7 & Java 7 |
Robot Framework 3.0 | IronPython 2.7 |
Robot Framework 2.5-2.8 | Python 2.5 |
Robot Framework 2.5-2.8 | Jython 2.5 |
Robot Framework 2.0-2.1 | Python 2.3 |
Robot Framework 2.0-2.1 | Python 2.4 |
Robot Framework 2.0-2.1 | Jython 2.2 |
Desired version of python can be downloaded from https://www.python.org/downloads/
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.
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
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
Install the latest version of robotframework
pip install robotframework
Install a specific version
pip install robotframework==2.0
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
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!
Download Python 2.7.11 for Windows. (Windows x86-64 MSI installer or Windows x86 MSI installer depending on architecture)
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)
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.
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!
Next, lets install Robot Framework by entering pip install robotframework
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)
(Optional) If in the future there is an update for Robot Framework, you can run this command pip install --upgrade robotframework