RobotFramework Installation is a tricky task. We need to install 6-7 utilities. All should be installed in the same order. Here I have given the instructions for Windows OS.
Tools installation
All RobotFramework related software can be the latest. The other software should be as the same version.
- Install Python (python-2.6.4.msi). Set installation directory as C:\Python26
- Install Robot Framework (robotframework-2.6win32.exe)
- Install Robot Selenium Library (robotframework-seleniumlibrary-2.7.win32.exe)
- Install Python Widgets (wxPython2.8-win32-unicode-2.8.11.0-py26.exe)
- Install Robot IDE (robotide-0.31.win32.exe)
- Install Python Win32 module (pywin32-214.win32-py2.6.exe)
- OPTIONAL (For SeleniumLibrary)- Install Java (jdk-6u14-windows-i586.exe), if your machine does not have Java.
- OPTIONAL (For SeleniumLibrary)- Extract Selenium RC Server (selenium-remote-control-1.0.3.zip)
Environment variables Configuration
To execute RIDE and Pybot, environment variables should set properly.
- Create a system level environment variable & value as --> PYTHONHOME=C:\Python26
- Create a system level environment variable & value as --> PYTHONPATH=C:\Python26\Lib;C:\Python26\Scripts;C:\Python26\Lib\site-packages;C:\Python26\Lib\site-packages\SeleniumLibrary;C:\Python26\Lib\site-packages\robotide\;C:\Python26\Lib\site-packages\robot\;C:\Python26\Lib\site-packages\wx-2.8-msw-unicode;
- Also add to PATH variable --> % PYTHONHOME%;% PYTHONHOME%\Scripts;
Steps for 64 Bit OS
To enable Robot Framework for 64 bit OS, you should install 64 bit python setup in same directory. Also the command prompt should be invoked through setting ‘Run as a Administrator’ if OS is Vista or Windows 7 version.
Verify the Installation
Open new command prompt and type ‘pybot --version’ and output like --> Robot Framework 2.6.0 (Python 2.6.4 on win32).
No comments:
Post a Comment