deleteTestRun
Deletes a test run from the project based on number or summary. A SOAP error envelope is returned if the operation fails.
Parameters
Parameter | Type | Description |
---|---|---|
cookie | long | Session cookie returned by projectLogon. |
testRunNumber | long | Number of the test run to delete. Set as 0 to search by summary. |
summary | string | Summary of the test run to delete. If the summary matches more than one test run, the operation fails. This field is ignored unless testRunNumber is 0. |
Return value
Value | Type | Notes |
---|---|---|
result | int | 0 indicates success. Check the return value in case of an error. |
Example
ttsdk.deleteTestRun(cookie, 0, "Test run summary");