addTestCase

Adds a test case to the project. If valid information is sent, a record ID for the test case is returned. A SOAP error envelope is returned if the operation fails.

Parameters

Parameter Type Description
cookie long Session cookie returned by projectLogon.
pTestCase CTestCase Test case fields and properties.

Return value

Value Type
recordID long

Example

CTestCase tc = new CTestCase();

 

tc.summary = "Test case summary";

tc.type = "Stress";

 

long testcaseID = ttsdk.addTestCase(cookie, tc);