Loading...
 
Robot Framework is a generic open-source automation framework for acceptance testing, acceptance test-driven development (ATDD), and robotic process automation (RPA).

Robot Framework

Test automation frameworks are a set of rules and corresponding tools that are used for building test cases. It is designed to help engineering functions work more efficiently.1

The general rules for automation frameworks include coding standards that you can avoid manually entering, test data handling techniques and benefits, accessible storage for the derived test data results, object repositories, and additional information that might be utilized to run the tests in a suitable manner.2

Robot Framework is a generic open-source automation framework for acceptance testing, acceptance test-driven development (ATDD), and robotic process automation (RPA). It has simple plain text syntax and it can be extended easily with libraries implemented using Python or Java.3

Resources

  • Home Page
  • Git Repo
  • Documentation
  • Robot Framework User Guide - Robot Framework is a Python-based, extensible keyword-driven automation framework for acceptance testing, acceptance test driven development (ATDD), behavior driven development (BDD) and robotic process automation (RPA). It can be used in distributed, heterogeneous environments, where automation requires using different technologies and interfaces.

Tutorials

Best Practices

Tools

PyCharm - The Intellibot Plugin

Once you have installed the PyCharm IDE, you need to install the Intellibot plugin for Robot framework. Go to File -> Settings -> Plugins -> Search for Intellibot in the plugins marketplace -> Install the plugin -> Restart the IDE.4

Set-Up

  • Create and activate a VirtualEnv
  • Install Python libraries:
    • robotframework
    • robotframework-httpctrl
    • robotframework-httpd
    • robotframework-httplibrary
    • robotframework-httplibrary3
    • robotframework-seleniumlibrary
    • selenium
    • selenium-robot

Create a list of dependencies

(venv)$ pip freeze > requirements.txt

Install all the dependencies

(venv)$ pip install -r requirements.txt

Running a Test

/robotqa$ robot --outputdir reports smoke/mytest.robot


Last edited by MichaelAlber .
Page last modified on Thursday October 14, 2021 17:10:39 PDT.

Books