RPA Framework

Introduction

RPA Framework is a collection of open-source libraries and tools for Robotic Process Automation (RPA), and it is designed to be used with both Robot Framework and Python. The goal is to offer well-documented and actively maintained core libraries for Software Robot Developers.

Learn more about RPA at Robocorp Documentation.

The project is:

Libraries

The RPA Framework project currently includes the following libraries:

Archive

Archiving TAR and ZIP files

Browser

Control browsers and automate the web

Cloud.AWS

Use Amazon AWS services

Cloud.Azure

Use Microsoft Azure services

Cloud.Google

Use Google Cloud services

Database

Interact with databases

Desktop

Cross-platform desktop automation

Desktop.Clipboard

Interact with the system clipboard

Desktop.OperatingSystem

Read OS information and manipulate processes

Desktop.Windows

Automate Windows desktop applications

Dialogs

Request user input during executions

Email.Exchange

E-Mail operations (Exchange protocol)

Email.ImapSmtp

E-Mail operations (IMAP & SMTP)

Excel.Application

Control the Excel desktop application

Excel.Files

Manipulate Excel files directly

FileSystem

Read and manipulate files and paths

FTP

Interact with FTP servers

HTTP

Interact directly with web APIs

Images

Manipulate images

JSON

Manipulate JSON objects

Notifier

Notify messages using different services

Outlook.Application

Control the Outlook desktop application

PDF

Read and create PDF documents

Robocloud.Items

Use the Robocloud Work Items API

Robocloud.Secrets

Use the Robocloud Secrets API

Salesforce

Salesforce operations

SAP

Control SAP GUI desktop client

Tables

Manipulate, sort, and filter tabular data

Tasks

Control task execution

Twitter

Twitter API interface

Word.Application

Control the Word desktop application

Installation

If you already have Python and pip installed, you can use:

pip install rpaframework

To install all extra packages, you can use:

pip install rpaframework[aws,cv,google]

Note

Python 3.6 or higher is required

Example

After installation the libraries can be directly imported inside Robot Framework:

*** Settings ***
Library    RPA.Browser

*** Tasks ***
Login as user
    Open browser  https://example.com
    Input text    id:user-name    ${USERNAME}
    Input text    id:password     ${PASSWORD}

The libraries are also available inside Python:

from RPA.Browser import Browser

lib = Browser()

lib.open_browser("https://example.com")
lib.input_text("id:user-name", username)
lib.input_text("id:password", password)

Support and contact

Contributing

Found a bug? Missing a critical feature? Interested in contributing? Head over to the Contribution guide to see where to get started.

License

This project is open-source and licensed under the terms of the Apache License 2.0.