Python 2.7 and Robot framework installation in Windows

Robot Framework installation

1. Python Installation:
   a) Install python 2.7
link: https://www.python.org/ftp/python/2.7.15/python-2.7.15.amd64.msi
   b) Set environment variable for python.exe
-> Open System Properties (Right click Computer in the start menu, or use the keyboard shortcut Win+Pause)
-> Click Advanced system settings in the sidebar.
-> Click Environment Variables...
-> Select PATH or path  in the System variables section
-> Click Edit
-> Click New
Add Python's path to the end of the list [Try to locate the python.exe in C drive and copy that path]
        example:
C:\Python27
C:\Python27\Scripts

   c) PIP Installation:
Pip will be automatically installed while installing python. If not installed follow below steps.
-> Goto https://bootstrap.pypa.io/get-pip.py
-> Copy and Save the content in Desktop location as pip.py
        -> Goto cmd and switch to the Desktop location then execute
           python pip.py
 
   d)  Virtual env if needed
       -> Execute pip install virtualenv
   -> Work around  virtual env
        -> Create virtualenv  " virtualenv HelloWorld"
-> Activate "HelloWorld\Scripts\activate"
-> Install the necessary packages
-> Dectivate " deactivate"

2. Pycharm Installation
link: https://www.jetbrains.com/pycharm/download/download-thanks.html?platform=windows&code=PCC

3. Robot Framework Installation
    Execute  "pip install robotframework" in cmd

4. seleniumlibrary Installation for web based automation testing
    Execute  "pip install robotframework-seleniumlibrary" in cmd

5.Intellibot plugin installation if not defaultly installed in the pycharm

  *.open pycharm
  *.Go to Files --> settings --> plugins --> search for intellibot
  *.Click Install in Intellibot (this is enough for the Robot frame work code writting on online. if needed any special projects install install intellibot@ selenium libraries too)
  *.After Installing restart pycharm





PFA of Robot Frame Work installation steps and some useful links.
Site-link : http://robotframework.org/#libraries
YouTube link : https://www.youtube.com/watch?v=38HPxnrXMHo&list=PLIMhDiITmNrLD-gOfSN10LuIsq_fXbTjd


Comments