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

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.0.tar.gz (8.4 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.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rpa_runner-0.1.0.tar.gz
  • Upload date:
  • Size: 8.4 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.0.tar.gz
Algorithm Hash digest
SHA256 b9e97d22872bb29ef5b9b1beaea6304130ccf7f41ccbd04d5a8edf10e3c25109
MD5 cec7f144f92c02ad7ff750536724ade1
BLAKE2b-256 b990216604db0f770a6f6d33ddc999265b447a139e421dd4a607fe87f45cf68a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rpa_runner-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b15bf8c9bfdb82b7de7124aa5e672324579e2270a4456c68bf3b20444e4b12a3
MD5 3d394ddff59536d5c285cde95a0440fd
BLAKE2b-256 71550ffe127c6413f15a322a143a9c2b2bc23ba7d61c4d18e9b4660f80e0d1db

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