ROBOTFRAMEWORK WITH ECLIPSE FOR BEGINNER
2 min readJun 12, 2018
Agenda
- Introduction to RobotFramework
- Why RobotFramework
- Infrastructure setup for Windows machine
- Integration with Eclipse
- Get started with the First script
Introduction to RobotFramework
- Robot Framework is an open source robotic process automation (RPA) a solution that is used to automate business processes.
- It is an open and extensible which means that it can be integrated with virtually any other tool to create powerful and flexible RPA solutions
- The extensibility of Robot Framework is enabled by its modular architecture that builds on top of extension libraries.
- The Robot Framework community develops and maintains these libraries that provide functionality such as optical image recognition, database access, HTTP APIs, iOS and Android application support, and remote execution.
- For more information on it check the official site http://robotframework.org/
Why RobotFramework
- Robot Framework has a modular architecture that can be extended with bundled and self-made test libraries
- When test execution is started, the framework first parses the test data. It then utilizes keywords provided by the test libraries to interact with the system under test
- Libraries can communicate with the system either directly or use other test tools as drivers
Infrastructure Setup for RobotFramework
For Windows Machine
- Install Java
- Install Python
- Set environment variables, add C:\Python27, C:\Python27\Scripts, & C:\Python27\Lib\site-packages to the Path variables. Note: when you install python it automatically installed inc:\Python27 folder and I kept this as it is.
- Install pip, use command: python -m pip install -U pip
- Pip is a package management system used to install and manage software packages written in Python.
- Install RobotFramework, by the command: pip install robotframework
- Install Selenium2Library, by the command: pip install robotframework-selenium2library or Install SeleniumLirary, by the command: pip install robotframework-seleniumlibrary
Eclipse Integration
- Open Eclipse, Goto Help >> Eclipse Marketplace
- Search for RED, you will get RED Editor for RobotFramework, Install this and restart the eclipse
- Create a Robotframework project : File>>New>> Others>> Robotframework>.Robot project
- Add the selenium2library/ Seleniumlibrary to the project path or required libraries to the path
Keep Learning. Leave your comment / feedback