Compuware® TestPartner Launcher (testpartner.jar)
The Compuware® TestPartner launcher allows interfacing with TestPartner scripts.Configuration
The testpartner.xml file allows pre-configuring the launcher with some default values:| Parameter | Description |
| TestPartner > Test root path | This must indicate where are located all the test scripts. This is a root path. Each test in XStudio has a canonical path that will be appended to this path.
This path MUST include an ending slash.
Default value is: C:/tests_repository/ |
| TestPartner > projectName | Default value is: myProject |
| TestPartner > username | Default value is: JohnDoe |
| TestPartner > password | Default value is: myPassword |
| TestPartner > dsn | Default value is: dsn |
| TestPartner > detailedLogPath | Default value is: C:/logs/log.xml |
These values can be changed while creating the campaign session from XStudio.
Requirements
The tests are executed by the launcher using this syntax:C:\Program Files\TestPartner\tc.exe -d <dsn> -u <username> -p <password> -r <projectName> -s <testRootPath>/<testName>
The test will be marked as passed or failed depending on the log file generated by TestPartner. The xml file is parsed by the launcher. The xml log is also attached to the testcase execution in XStudio.