getTestCaseByRecordID
Retrieves a test case record for editing by record ID. A SOAP error envelope is returned if the operation fails.
To retrieve a test case based on summary or number, use getTestCase.
To edit a test case, use editTestCase or editTestCaseByRecordID.
Parameters
Parameter | Type | Description |
---|---|---|
cookie | long | Session cookie returned by projectLogon. |
recordID | long | Unique test case 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 |
---|---|
pTestCase | CTestCase |
Example
CTestCase tc = ttsdk.getTestCaseByRecordID(cookie, 1, false);