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.6.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.6-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rpa_runner-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 46ef26d94225c071afe324a4c7a9572bb42e016e37d078783016c51c3e08a984
MD5 a8e87f2b40585a8464ccc92f5121cc21
BLAKE2b-256 07d06572c579702ebb3195f7dceaead6161ee8fcb8887cac693073e90dbf3f8e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rpa_runner-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 58fefd7aac4dac141ba7f2979f3ca096a3aff57a89df98138a35293f8566b1b0
MD5 17e795fd0b58bce94a9f7e590c40ed0d
BLAKE2b-256 391dea575a01669a3bdc801f0f6a67924d8531711bdf78dfba7a69c19c3e054b

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