0% found this document useful (0 votes)
199 views11 pages

Robot Framework

The document discusses Robot Framework, an open source automation framework that can be used for test automation and robotic process automation. It provides an easy syntax using human-readable keywords and its capabilities can be extended through libraries in various programming languages. It has a large community of users and developers contributing libraries and tools to extend its functionality. The document provides information on getting started with Robot Framework and lists some of its popular community libraries.

Uploaded by

ANIK CHAKRABORTY
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
199 views11 pages

Robot Framework

The document discusses Robot Framework, an open source automation framework that can be used for test automation and robotic process automation. It provides an easy syntax using human-readable keywords and its capabilities can be extended through libraries in various programming languages. It has a large community of users and developers contributing libraries and tools to extend its functionality. The document provides information on getting started with Robot Framework and lists some of its popular community libraries.

Uploaded by

ANIK CHAKRABORTY
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 11

3/12/23, 6:16 PM Robot Framework

ROBOT FRAMEWORK

INTRODUCTION
Robot Framework is a generic open source automation framework. It can be used for test automation
and robotic process automation (RPA).

Robot Framework is supported by Robot Framework Foundation. Many industry-leading companies use
the tool in their software development.

Robot Framework is open and extensible. Robot Framework can be integrated with virtually any
other tool to create powerful and flexible automation solutions. Robot Framework is free to use
without licensing costs.

Robot Framework has an easy syntax, utilizing human-readable keywords. Its capabilities can be
extended by libraries implemented with Python, Java or many other programming languages. Robot
Framework has a rich ecosystem around it, consisting of libraries and tools that are developed as
separate projects.

ROBOT FRAMEWORK IS USED BY...

The Naval Research Laboratory extends Robot Framework to provide a seamless integration
with the SAGE multi-agent system. This integration enables Robot Framework to drive
distributed simulation and monitoring for test automation of SOA systems.

MORE USERS

https://robotframework.org 1/11
3/12/23, 6:16 PM Robot Framework
Robot Framework @robotframework · Mar 8
How would you develop the Robot Framework community and tool? How are we
doing currently?

Please respond to the Community Survey and let us know. The estimated response
time is 10-15 minutes.

forms.gle/8oM4kioeJe3fWF…

Please respond by 26.3.2023. Thank you for your time.

docs.google.com
Robot Framework Community Survey March 2023
This Community Survey is aimed to all Robot Framework users …

Robot Framework @robotframework · Mar 6


Thank you everyone for the awesome RoboCon 2023 Online Conference last week!

Please give feedback if you haven’t already:

app.sli.do/event/7RDpT9Sh…

See you next year!

Robot Framework @robotframework · Mar 1


The Robot Framework Foundation needs your help!

Please answer the Community Survey in order to help us make the tool and the
community even better. The estimated response time is 10-15 minutes.

forms.gle/8oM4kioeJe3fWF…

Please respond by 26.3.2023. Thank you for your time.

GETTING STARTED
Code is worth a thousand words.
Below you'll find a live Robot Framework editor with embedded WASM Python environment to run it
GETTING
ROBOT
online. STARTED
FeelFRAMEWORK RESOURCESwith COMMUNITY
free to experiment it! NOTE: ThisDEVELOPMENT
is the editor'sDOCS
first release. If you find bugs,
please report them in Github issues.

To start using Robot Framework in a project of your own, please check tabs "Install" and "Learn".
Also be sure to visit the new Robot Framework Docs!

EDITOR INSTALL LEARN

version

Simple Example Share Open Maximized 6.0.2

SIMPLE EXAMPLE

https://robotframework.org 2/11
3/12/23, 6:16 PM Robot Framework

This example contains a single test case for user login. It uses a mocked backend api for
user management.

Test Suite
This test suite TestSuite.robot contains a two test cases "Login User with Password" and
"Denied Login with Wrong Password". This test case calls keywords from the resource file
keywords.resource.

Resource File
keywords.resource contains keyword definitions. The resource file also uses a python based
keywords from the library CustomLibrary.py for more specialised functionality. Countless
community made libraries exist that extend Robot Framework in various ways!

TestSuite.robot keywords.resource CustomLibrary.py RUN

Run Test Suite


1 *** Settings ***
2 Documentation     A test suite for valid login.
3 ...
4 ...               Keywords are imported from the resource file
5 Resource          keywords.resource
6 Default Tags      positive
7
8 *** Test Cases ***
Run Test
9 Login User with Password
10     Connect to Server
11     Login User            ironman    1234567890
12     Verify Valid Login    Tony Stark
13     [Teardown]    Close Server Connection
14
Run Test
15 Denied Login with Wrong Password
16     [Tags]    negative
17     Connect to Server
18     Run Keyword And Expect Error    *Invalid Password    Login User    ironman    123
19     Verify Unauthorised Access
20 [Teardown] Close Server Connection

RESOURCES
Robot Framework is open source and supported by Robot Framework Foundation. There is a huge community
of contributors around the tool. The software is built with expandability in mind and there are
numerous ways to extend it's use cases for various needs.

If you have created or found a library that you think should be listed here, please let us know by
submitting a pull request or an issue. You are also welcome to report unmaintained ones that
shouldn't be listed anymore.

https://robotframework.org 3/11
3/12/23, 6:16 PM Robot Framework

LIBRARIES BUILT-IN TOOLS

Separately developed external libraries that can be installed based on your needs.
Creating your own libraries is a breeze. For instructions, see creating test libraries in
Robot Framework User Guide.

Filter by tag

Name Description Stars Tags

SeleniumLibrary Web testing library that uses popular 1216 WEB, SELENIUM
Selenium tool internally.

RPA framework Collection of open-source libraries and 740 RPA

tools for Robotic Process Automation


(RPA), designed to be used both with Robot
Framework and Python.

HTTP RequestsLibrary HTTP level testing using Python Requests 432 HTTP

(Python) internally.

Browser Library A modern web testing library powered by 362 WEB


Playwright. Aiming for speed, reliability
and visibility.

AppiumLibrary Android and iOS testing. Uses Appium 334 MOBILE


internally.

RESTinstance Test library for HTTP JSON APIs. 186 HTTP

Database Library Python based library for database testing. 131 DB


(Python) Works with any Python interpreter,
including Jython.

SSHLibrary Enables executing commands on remote 127 FTP, SSH


machines over an SSH connection. Also
supports transfering files using SFTP.

SikuliLibrary Provides keywords to test UI through 126 UI

Sikulix. This library supports Python 2.x


and 3.x.

Zoomba Library Extends features in many popular tools for 126 UI, HTTP
GUI, Rest API, Soap API, Mobile, and
Windows (WinAppDriver) automation. An
ideal all-in-one toolkit for new or
existing Robot Framework projects.

SwingLibrary Testing Java applications with Swing GUI. 103 JAVA, UI

DataDriver Library Data-Driven Testing with external 📤 data 100 DB


tables (csv, xls, xlsx, etc.). 🧬 Pairwise
Combinatorial Testing support.

https://robotframework.org 4/11
3/12/23, 6:16 PM Robot Framework

Debug Library A debug library for RobotFramework, which 96


can be used as an interactive shell(REPL)
also.

ImageHorizonLibrary Cross-platform, pure Python library for 68 UI, VISUAL


GUI automation based on image recognition.

Rammbock Generic network protocol test library that 58 HTTP


offers easy way to specify network packets
and inspect the results of sent and
received packets.

Robotframework-faker Library for Faker, a fake test data 55


generator.

Python Library Core Tools to ease creating larger test 46 TOOLS


libraries for Robot Framework using
Python.

WatchUI Visual testing library for visual 46 UI


difference testing as well as image
content testing (including PDF documents).
Runs on Selenium to generate screenshots,
uses PyMuPDF to process PDFs and Tesseract
OCR to recognize text.

JavalibCore Base for implementing larger Java based 43 JAVA


test libraries for Robot Framework.

PuppeteerLibrary Web testing using Puppeteer tool 40 WEB, UI


internally.

SapGuiLibrary Testing the SAPGUI client using the 39 UI, SAP

internal SAP Scripting Engine

Django Library Library for Django, a Python web 37 DJANGO


framework.

Robotframework-FlaUI Robotframework-FlaUI is a keyword based 36 WINDOWS, UI


user interface automation testing library
for Windows applications like Win32,
WinForms, WPF or Store Apps. It's based on
the FlaUI user interface automation
library.

ScreenCapLibrary Taking screenshots and video recording. 36 UI


Similar functionality as Screenshot
standard library, with some additional
features.

Mainframe3270 Library Allows the creation of automated test 35 IBM


scripts to test IBM Mainframe 3270.

DocTest Library Library for Document Testing, offers 32 PDF, VISUAL


visual/content comparisons and masks for
images, PDFs and more.

https://robotframework.org 5/11
3/12/23, 6:16 PM Robot Framework

Qweb A modern web testing library focusing on 32 WEB, UI


making web testing and automation Easy 🎉
and maintainable 🧹 with its high level
keyword design.

RemoteSwingLibrary Testing and connecting to a java process 30 JAVA


and using SwingLibrary, especially Java
Web Start applications.

AutoItLibrary Windows GUI testing library that uses 29 WINDOWS, UI


AutoIt freeware tool as a driver.

CURFLibrary Testing CAN bus with support for ISO-TP 28


and UDS.

ConfluentKafkaLibrary Python confluent kafka. 22

Diff Library Diff two files together. 22

SeleniumLibrary for Java port of the SeleniumLibrary. 22 JAVA, SELENIUM


Java

ArchiveLibrary Handling zip- and tar-archives. 21 ZIP

HttpRequestLibrary HTTP level testing using Apache HTTP 20 HTTP, JAVA


(Java) client. Available also at Maven central.

JavaFXLibrary Testing JavaFX applications, based on 20 JAVA

TestFX. Has also remote interface support.

MQTT library Testing MQTT brokers and applications. 20 IOT

TestFX Library Enables testing Java FX applications using 18 JAVA

the TestFX framework. Has also remote


interface support. Maintained Fork...

WADLibrary Application testing library that utilizes 17 WINDOWS


Win App Driver.

SoapLibrary Designed for those who want to work with 15 HTTP


webservice automation as if they were
using SoapUI, make a request through an
XML file, and receive the response in
another XML file.

RemoteApplications Special test library for launching Java 12 JAVA

applications on a separate JVM and taking


other libraries into use on them.

CncLibrary Driving a CNC milling machine. 11 RPA

SeleniumScreenshots Annotating and cropping screenshots taken 10 UI, SELENIUM


with SeleniumLibrary.

Plone.app Provides resources and tools for writing 10 SELENIUM


.robotframework functional Selenium tests for Plone CMS
and its add-ons.

https://robotframework.org 6/11
3/12/23, 6:16 PM Robot Framework

Database Library Java-based library for database testing. 9 JAVA

(Java) Usable with Jython. Available also at


Maven central.

Dependency Library Declare dependencies between tests. 8


Ideally tests are independent, but when
tests depend on earlier tests,
DependencyLibrary makes it easy to
explicitly declare these dependencies and
have tests that depend on each other do
the right thing.

Eclipse Library Testing Eclipse RCP applications using SWT 7


widgets.

FTP library Testing and using FTP server with Robot 6 FTP

Framework.

KiCadLibrary Interacting with KiCad EDA designs. 6

AutoRecorder Allows automatically recording video for 5 VISUAL

test/suites execution.

ListenerLibrary Register keywords to run before/after 2


other keywords and suites.

TFTPLibrary Interact over Trivial File Transfer 2 FTP


Portocol.

DoesIsLibrary Autogenerated keywords like Is Something, N/A


Does Someting created form assertion
keywords like Should Be, Should Not Be,
etc

COMMUNITY
Robot Framework has a vibrant community of testing enthusiasts around it. Feel free to stop by if you
have any questions, need advice or would just like to connect with like-minded people!

There is also an annual RoboCon conference that is hosted in Helsinki, Finland. For more information
and to watch previous years' talks, visit robocon.io or our YouTube Channel.

To support Robot Framework you can find a 👕 T-shirt and a ☕ coffee cup from our Shop.

Forum Slack Other


Official Robot Framework forum. Community team chat. LinkedIn

Click for invite! Facebook

Mailing list

https://robotframework.org 7/11
3/12/23, 6:16 PM Robot Framework

CODE OF CONDUCT

RoboCon 2018 - The Importance of Open Source Communities

DEVELOPMENT
Development of Robot Framework is funded by the non-profit Robot Framework Foundation. It consists of
companies and organizations that want to ensure the continuity of Robot Framework now and in the
future.

Project is hosted at GitHub

Thanks to the sponsors, Robot Framework remains completely free to use while being actively
maintained and developed. Foundation also covers other related expenses such as the development of
this website and organizing various meetups.

Members of Robot Framework Foundation

https://robotframework.org 8/11
3/12/23, 6:16 PM Robot Framework

How to join

Development milestones
OPEN

V6.1 target: Mar 16 2023

Feature release adding JSON serialization support for the execution model (#3902), mixing embedded
arguments with normal arguments (#4234), making it possible to use custom parsers (#1283), and many other
nice new features.
Expand

ISSUES
OPEN (11) CLOSED (32)

Make Robot Framework compatible with zipapp

Possibility to give a custom name to a suite using Name setting

Make the WHILE loop condition optional

Show all

V7.0 target open

Next major release with still open scope and timeline.

ISSUES
OPEN (18) CLOSED (0)

Variable type conversion in test data

Support variables in format $var in addition to ${var}

Possibility to use output.json in addition to output.xml

https://robotframework.org 9/11
3/12/23, 6:16 PM Robot Framework
Show all

V6.2 target open

ISSUES
OPEN (14) CLOSED (0)

Native syntax to create local variables

Support controlling listener priority

Support nested keywords with library keywords

Show all

CLOSED

V6.0.1 released: Nov 03 2022

First RF 6.0.x series bug fix release.

ISSUES
OPEN (0) CLOSED (7)

Set Library Search Order doesn't work if there are two matches and one is from standard libraries

Wrong version numbers used in the User Guide and in a deprecation warning

Unit test test_parse_time_with_now_and_utc fails around DST change

Show all

V6.0 released: Oct 19 2022

New main release with main focus in improving support for other languages than English. This means support
for multilanguage markers in data (#4096) and supporting Given/When/Then syntax with other languages than
English (#519). There are also various other nice enhancements, for example, to argument conversion and
embedded arguments.
Expand

ISSUES
OPEN (0) CLOSED (70)

Allow using None as custom argument converter to enable strict type validation

Libdoc: Support setting dark or light mode explicitly

Time string parsing for micro and nanoseconds

https://robotframework.org 10/11
3/12/23, 6:16 PM Robot Framework
Show all

V5.0.1 released: May 16 2022

First and possibly the only RF 5.0.x series bug fix release.

ISSUES
OPEN (0) CLOSED (13)

Get Variable Value doesn't support accessing list/dict variable items like ${var}[0] or ${var}[key]

Example in API documentation uses an out-of-date API

Programmatic execution API doesn't support pathlib.Path objects

Show all

* Release dates due to change

Foundation Community
Robot Framework ry GitHub

Kampinkuja 2 Forum
00100 Helsinki Facebook

Finland Twitter

Contact LinkedIn

Instructions
Installation
Quick start

User guide

Web demo Privacy Policy


Robocon talks Code of Conduct

https://robotframework.org 11/11

You might also like