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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rpa_runner-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c7a5ded3cf6235214d153a49289586e464c8975e7103326ce32b21c749cd3131
MD5 ad753a6785203560cc3d7aaa74e63e13
BLAKE2b-256 cd721afcd931dc94cec60b552ed22af5c6b0d764cc6fcdf630331765d431edd1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rpa_runner-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f9359351bb9498827fd88718eaca10ab4f587ad86770d28f2be32b9399fb307f
MD5 91f34d119ef994810be90616db24be68
BLAKE2b-256 42493f76d22f3a1ac47ccdeaa605936f74741c22fdf80af9bdc7dc6750608108

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