Skip to main content

A library and runner for executing Robot Framework tasks in parallel using JSON configuration.

Project description

RPA Runner

This package provides a mechanism to execute Robot Framework tasks defined in JSON format with support for PARALLEL blocks, and a Run Parallel keyword for parallel execution.

Installation

pip install .

Usage

Command Line Runner

The package provides a command-line tool rpa-runner (or python -m rpa_runner.runner) to execute JSON test definitions.

rpa-runner test_parallel.json --outputdir results

Built-in Listeners

The library includes a ProbeListener for real-time reporting via Socket.IO.

rpa-runner test_parallel.json --listener rpa_runner.listeners.ProbeListener

JSON Format & Parallel Execution

The runner automatically transforms PARALLEL blocks in your JSON test definition into calls to the Run Parallel keyword, which uses pabot under the hood.

{
  "name": "My Suite",
  "tests": [
    {
      "name": "Test 1",
      "body": [
        {
          "type": "PARALLEL",
          "branches": [
            {
              "name": "Concurrent A",
              "body": [{ "name": "Log", "args": ["Running A"] }]
            }
          ]
        }
      ]
    }
  ]
}

Library Usage

You can also use the library directly in Robot Framework:

*** Settings ***
Library    rpa_runner

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rpa_runner-0.1.5.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rpa_runner-0.1.5-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

Details for the file rpa_runner-0.1.5.tar.gz.

File metadata

  • Download URL: rpa_runner-0.1.5.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for rpa_runner-0.1.5.tar.gz
Algorithm Hash digest
SHA256 26e63eef84b292e824d46fed5f01787ebac0b0d4aa3a67596ab63f4394d63f5e
MD5 e8766339dee8c567b815a589e1d9e527
BLAKE2b-256 5bba98c433d735b08c8a3695b1e28f14a19eaba430786a2a13f45a10604d068c

See more details on using hashes here.

File details

Details for the file rpa_runner-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: rpa_runner-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 12.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for rpa_runner-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ab6381f7a76f1bbe60896186a2b5a41ab1b3d7bd2c4ef4b5d387d57b32a6e179
MD5 602054f9f5a98045073bc0764e1f4409
BLAKE2b-256 0817498c0fc99c175f670d688c580ea6db985dbf1073dc3013052a64c1f01c43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page