Saturday 2 January 2016

Installing Robot Framework with Python(an interpreter) using 'Selenium2Library' as library

What is Robot Framework: It is  Python based, extensible keyword-driven test automation framework for end to end acceptance testing.

It also known for acceptance-test-driven development(ATDD).

Though apart from Python we can use other interpreter also like Jython(JVM) , IronPython(.Net).

As Python 3.x is not yet supported with Robot Framework, we must use Python version 2.7.X or 2.5.X base version. click here to download python.

After downloading python install it by following simple wizard.

Now, set environment variable(PATH) (1) add location of installation directory of interpreter(e.g. C:\Python27)  
(2) add location of scripts are installed(e.g. C:\Pyhton27\Scripts).


Edit path variable and add above mentioned value.


To validate installation go to Command Prompt and type python and hit enter. It should enter in to Python mode with some info.

Now install the 'pip' which is standard Python package manager which makes the installation easy.

Note: We must install 'pip'  to execute below mentioned command click here to see installation steps.

Once we have 'pip' installed, open command prompt and run following command.

pip install robotframework

It will install all required files and can be see in Scripts directory of Pyhton.

Now we will install Selenium2Libraryopen command prompt and run following command.

pip install robotframework-selenium2library


Once it completes installation we are ready to go with Robot Framework.

Refer my post Integrate Robot Framework with Eclipse to start writing and executing your scripts on eclipse.

3 comments:

  1. This is an informative post review. I appreciate your efforts. I am so pleased to get this post article and nice information.

    Online Robot Framework Training

    ReplyDelete
  2. I have gone through similar blog few days back explaining the relationship of a interventional radiologists and Golden State Worriers. They showed a graph which can explain every move of a rival team which actually was a successful approach with the interventional radiology.
    Online Robot Framework Training

    ReplyDelete