getTestRunByRecordID

Retrieves a test run record based on record ID. A SOAP error envelope is returned if the operation fails.

To retrieve a test run based on summary or number, use getTestRun.

To edit a test run, use editTestRun or editTestRunByRecordID.

Parameters

Parameter Type Description
cookie long Session cookie returned by projectLogon.
recordID long Unique test run record ID.
bDownloadAttachments boolean Indicates if attachments should be retrieved. Using False may improve performance when the file contents are not needed.

Return value

Value Type
pTestRun CTestRun

Example

CTestRun tr = ttsdk.getTestRunByRecordID(cookie, 1, false);