Robot Framework Installation
I will tell you briefly and yet clearly about how to set up robot framework with important details.
To starters, we need to have PYTHON in our computers as a prerequisite for robot framework. You can use the link below to set up python for windows.
Python set up is no rocket science, you can do it just like any other programmes. If you want to work with robot framework and develop projects, you need to be familiar and adequate about these anyways.
Important notice: In order to prevent further problems and work with ease, let us set up python under C:\
If you successfully set up the programme under C:\python374, you can confirm it by running python.exe from there as also shown below:
Right after getting our hands full with python, we add separate paths from Environment Variables to directory where python is located; and to script folder from the directory.
It should look like the screenshot below:
The next step is, as you would guess, Integrated Development Environment (IDE) to make automation developments with robot framework.
You can right robot framework through many IDEs. Here I list the ones which are often used and most popular;
If you are a student, you are in luck with IDE! You can use PyCharm and IntelliJ for developments. Both are integrative development environments developed by JetBrains. We can even say they are pretty same, although my favourite is IntelliJ.
You can download IntelliJ from the official link below. As for the student luck, you can use your student mail address to sign up to and download the programme as a member by this way you will get a license for a year!
Just as any other programme, IntelliJ is pretty easy to set up, I share the screenshots below for a better guidance.
We continue as below after restarting the computer.
File -> Settings.
Click on Plugins and add Robot framework’s Plugins from the search bar above.
We search for plugins, as I share how below, and install. After installing all, we restart IntelliJ.
• robotframework Support,
• run robot framework support,
• run rubotframework test case
Last but not least, we write the libraries below on CMD commend bar to set up Robot framework. You can write it one by one, or copy all from here and do it all for once- it is up to you. These libraries are essential and highly useful in order to develop projects with robot framework.
• pip install robotframework
• pip install robotframework-selenium2Library
• pip install robotframework-ExtendedRequestsLibrary
• pip install robotframework-faker
• pip install robotframework-excellib
• pip install robotframework-PostgreSQLDB
• pip install robotframework-DatabaseLibrary
• pip install pandas
• pip install pysftp
We are finally done with the set up!
I will add chrome driver as a bonus here for people who works on web projects. You can download chrome driver from the link below.
After the download, we paste ( ‘C:\Python374\Scripts’ ) under Script folder where the directory we used for Python’s set up. You can recall this folder as we added it to path as well.
You are now ready to go out, play and have fun with robot framework- not to mention developing projects!