Skip to main content
Version: 2.0.0

Quick Start

This guide will help you get started with TestBench2RobotFramework quickly.

Basic Workflow

TestBench2RobotFramework supports two main operations:

1. Generate Robot Framework Test Suites

Convert a TestBench report into Robot Framework test suites:

testbench2robotframework generate-tests TESTBENCH_REPORT

This command generates a Robot Framework test suite for each test case set specified in the TESTBENCH_REPORT.

Example:

testbench2robotframework generate-tests my_testbench_report.zip

2. Fetch and Save Results

After executing your Robot Framework tests, save the results back to the TestBench report:

testbench2robotframework fetch-results ROBOT_RESULT TESTBENCH_REPORT

Example:

testbench2robotframework fetch-results output.xml my_testbench_report.zip

Common Options

Here are some frequently used options:

  • -d, --output-directory PATH - Specify where to save generated files
  • --clean / --no-clean - Remove previously generated suites before generating (default), or generate additively
  • -c, --config PATH - Use a configuration file (TOML or JSON) instead of the automatic lookup

Example with options:

testbench2robotframework generate-tests -d ./Generated --clean testbench_report.zip

Complete Round Trip

Putting it together — generate, run, write back:

testbench2robotframework generate-tests -d ./Generated my_testbench_report.zip
robot --outputdir ./results ./Generated
testbench2robotframework fetch-results -d updated_report.zip ./results/output.xml my_testbench_report.zip

The updated report (updated_report.zip) can then be imported back into TestBench.