Skip to main content

CLI Tool to Export XML-Full-Reports from TestBench

Project description

testbench-cli-reporter

Supported Actions

  • Export XML Report from TestBench project
  • Import test execution results into TestBench project
  • Export actions: Create a JSON file which can be used in automatic mode to repeat your previous actions automatically
  • Change connection: Change TestBench server and/or user

Installation

Python 3.6 is required!

pip install --pre testbench-cli-reporter

Manual mode

Just execute in Command Line testbench-cli-reporter or TestBenchCliReporter

Automatic mode

Run in automatic mode: testbench-cli-reporter --configfile /path/to/config/file.json

Config file structure

{
    "configuration": [
        {
            "server_url": "https://testbench:1234/api/1/",
            "loginname": "User A",
            "password": "passwordA",
            "actions": [
                {
                    "type": "ExportXMLReport",
                    "parameters": {
                        "cycleKey": "12345678",
                        "reportRootUID": "ITBEXP-TT-1234",
                        "filters": [],
                        "outputPath": "C:\\Users\\testuser\\Dokumente\\test_report1.zip"
                    }
                },
                {
                    "type": "ExportXMLReport",
                    "parameters": {
                        "cycleKey": "98765432",
                        "reportRootUID": "ITBEXP-TT-4321",
                        "filters": [],
                        "outputPath": "C:\\Users\\testuser\\Dokumente\\test_report2.zip"
                    }
                }
            ]
        },
        {
            "server_url": "https://testbench:9999/api/1/",
            "loginname": "User B",
            "password": "passwordB",
            "actions": [
                {
                    "type": "ExportXMLReport",
                    "parameters": {
                        "cycleKey": "12344321",
                        "reportRootUID": "ITBEXP-TT-1221",
                        "filters": [],
                        "outputPath": "C:\\Users\\testuser\\Dokumente\\test_report3.zip"
                    }
                }
            ]
        }
    ]
}

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

testbench-cli-reporter-1.0rc6.tar.gz (19.1 kB view hashes)

Uploaded Source

Built Distribution

testbench_cli_reporter-1.0rc6-py3-none-any.whl (22.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page