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://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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89ac9faf1fa0383f64037d4506eae4eb1bb8f334f8df46b00525cdb83370a760 |
|
MD5 | c520b2aeb36b9ee0682aa51dab8fb24c |
|
BLAKE2b-256 | 6229eb7a785f0b4dcdc7b7ab802c3bf1477b25fded65e5511e7d9e7820a04666 |
Close
Hashes for testbench_cli_reporter-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bf6adf59a47f5ea8d26b281a6f5d2f7188d9c0a3a5f7a7924da7c2a22a393f5 |
|
MD5 | 63cf45ae98ebf5f3387f462db87f2b59 |
|
BLAKE2b-256 | abb65a9e14b59edefe7e9d02d3e86bde3cb4ea86a878c83d4fb342405d7bf5bc |