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
Release history Release notifications | RSS feed
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
Close
Hashes for testbench-cli-reporter-1.0.1a5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4da0813f25f38b845e37c891f5b33af578994e17ac199a6f1b9a2d73139ddc7d |
|
MD5 | 4b2b5b37c2110e4cb9ce4417196b2040 |
|
BLAKE2b-256 | a9277f6df7717b163a3528a708504d17a8fe8b8b25e91c474b121299d4770a75 |
Close
Hashes for testbench_cli_reporter-1.0.1a5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22937e1775962ac40f7838f4fcd64df1cba46bc5c2cb22e58b0c84065398002a |
|
MD5 | 5a2a5270fb8006b763628ef4e6f08f35 |
|
BLAKE2b-256 | 07f17c35d1a1fa937ddde9d5cb36442796225ef99342942790b1e71be994a242 |