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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rpa_runner-0.1.4.tar.gz.
File metadata
- Download URL: rpa_runner-0.1.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f29ec5043b43fccf912eed98329d8cd60d049fffc77aca84e7e85da1b9d0bdb0
|
|
| MD5 |
b8e57674cf7cf91ecd365eb4d97bef21
|
|
| BLAKE2b-256 |
2f3c704a921cccbb19020a30fab1804a4b304508a794d6395016e8da15a7ed1d
|
File details
Details for the file rpa_runner-0.1.4-py3-none-any.whl.
File metadata
- Download URL: rpa_runner-0.1.4-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e43d7046180c0254ac2d18e829b53aecc10051ce56ef082c5eb54d25999e040a
|
|
| MD5 |
0c5272aacdb42a089531d74c2b5c680c
|
|
| BLAKE2b-256 |
3f7e2a6eab6a56e39f77bac0455587b9f798952128c429aecc6e1a090204ae8b
|