How to install Robot Framework in Windows?

Here i am using Robot Framework with Python. So i will install Python first.

How to install python?

Step1: Go to website : https://www.python.org/downloads/

Step2: Click on Download as shown below.

Step 3: After downloading python files. Go to the directory or folder where you have downloaded python files. Double click on it to begin the installation process and follow the below steps.

Step 4:

Select “Add Python 3.9 to PATH” checkbox.

Step 5: Click on “Customize installation“.

Click on “Next” button as shown above.

Step 6:

Select “Install for all users” checkbox. Then Click on “Browse” button, select the folders or path where you want to install it. I am installing in path “F:\Python_app”. Then click on “Install” button to begin installation at the specified location.

In the above image, you can see the installation started and it is installing.

Step 7:

After successfull installation as shown in the above figure. Click on “Close” button.

How you come to know that you have successfully installed python?

Step 1: Open command prompt.

step 2 : Type the command as shown below.

python –version (2 times hyphen ‘–‘)

How to install ROBOT FRAMEWORK?

Step 1 : Open the command prompt.

step 2: Move to the folder or path where you have installed python, in this case i have installed at “F:/Python_app“.

Step 3: Type the below command in the command prompt.

pip install robotframework

Step 4: If you want to check whether robot framework has been successfully installed or not then type the below command

robot –version (2 times hyphen ‘–‘)

Verifying Installation

You have to verify both Robot Framework and interpreter version as a result as shown below

robot –version

The above command will show the installed version of Robot Framework as a result.

rebot –version

The above command will show the installed version of Interpreter as a result.

Un-installation of Robot Framework

Run the command “pip uninstall robotframework” to uninstall the Robot Framework.

Upgrading Robot Framework

To upgrade your existing Robot Framework, use the command “pip install –upgrade robotframework” . This command will install the latest stable version.

Installing Specific Version Of Robot Framework

Run the command “pip install robotframework==2.9.2“. This command will install the Robot Framework of version “2.9.2“.

Leave a Comment

Your email address will not be published. Required fields are marked *