getTestConfig
Retrieves a test configuration record based on name. A SOAP error envelope is returned if the operation fails.
To retrieve a test configuration by record ID, use getTestConfigByRecordID.
To edit a test configuration, use editTestConfig or editTestConfigByRecordID.
Parameters
Parameter | Type | Description |
---|---|---|
cookie | long | Session cookie returned by projectLogon. |
name | string | Name of the test configuration to retrieve. If the name matches more than one test configuration, the operation fails. |
Return value
Value | Type |
---|---|
pTestConfig | CSystem |
Example
CSystem tConfig = ttsdk.getTestConfig(cookie, "Main configuration");