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 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://remus:9443/api/1/",
      "verify": false,
      "basicAuth": "dHQtYWRtaW46YWRtaW4=",
      "actions": [
        {
          "type": "ExportXMLReport",
          "parameters": {
            "tovKey": "8689447",
            "projectPath": [
              "TestBench Demo Agil",
              "Version 3.0",
              "3.0.1"
            ],
            "cycleKey": "8689450",
            "reportRootUID": "itb-TT-8161",
            "filters": [],
            "report_config": {
              "exportAttachments": true,
              "exportDesignData": true,
              "characterEncoding": "utf-16",
              "suppressFilteredData": true,
              "exportExpandedData": true,
              "exportDescriptionFields": true,
              "outputFormattedText": false,
              "exportExecutionProtocols": false,
              "reportRootUID": "itb-TT-8161"
            },
            "outputPath": "report.zip"
          }
        },
        {
          "type": "ImportExecutionResults",
          "parameters": {
            "inputPath": "report.zip",
            "cycleKey": "8689450",
            "reportRootUID": "ROOT",
            "defaultTester": false,
            "filters": [],
            "importConfig": {
              "ignoreNonExecutedTestCases": true,
              "checkPaths": true,
              "discardTesterInformation": true,
              "useExistingDefect": true,
              "filters": []
            }
          }
        }
      ]
    }
  ]
}

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.0.1a4.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

testbench_cli_reporter-1.0.1a4-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file testbench-cli-reporter-1.0.1a4.tar.gz.

File metadata

  • Download URL: testbench-cli-reporter-1.0.1a4.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for testbench-cli-reporter-1.0.1a4.tar.gz
Algorithm Hash digest
SHA256 1108b2e6c3d830060b324b5ff69f1ec691f7cea7118eba4aecd2ab966c204baf
MD5 34929e2fa6da9a7a0aa85d9b1e784ed4
BLAKE2b-256 14bf0c82f0aa034e4bffdd5a20fd23b4d5c0947fe7d2584d96106a8082c67d86

See more details on using hashes here.

File details

Details for the file testbench_cli_reporter-1.0.1a4-py3-none-any.whl.

File metadata

  • Download URL: testbench_cli_reporter-1.0.1a4-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for testbench_cli_reporter-1.0.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 b1be36507c75c1ca00b231bce0506810f9ae9be2402424d6e1689a71245f6ddf
MD5 1423d212c91b4468d20f9ef73d901a31
BLAKE2b-256 565ffdd63c05d8b905d6a56728153748a046622b7d0cb3775fdf78d5eb3a7cd0

See more details on using hashes here.

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