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.3.tar.gz (11.5 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.3-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rpa_runner-0.1.3.tar.gz
  • Upload date:
  • Size: 11.5 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.3.tar.gz
Algorithm Hash digest
SHA256 bdf91bfe795e4a0d2634e5d1f51b34bcfaf9eff0d819c9ca617cf0a9e7642bdc
MD5 6753a25b6b73fab12a7f95e50034b317
BLAKE2b-256 4654807587c164541297b44177f553a5b5869efc1b2c17d03991fa0aecb96a58

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rpa_runner-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 12.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f39cba88262eaf61b0d08f0aa216ca34dc1230e91ce1be091ea711da846b75a2
MD5 4af468bd4722ffd82480a50494df4b11
BLAKE2b-256 4513f8c04f64fec886c5e3644995db27092ee35ca0b8a02a3919ec0e6dff9d24

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