CTestCase
Contains information for a specific test case.
To generate manual test runs from one test case, use generateTestRuns. To generate manual test runs from multiple test cases, use generateBatchTestRuns.
Extends
Fields
Field | Type | Description |
---|---|---|
recordid | long | Unique test case record ID. |
testcasenumber | long | Unique test case number. If the project is configured to not automatically assign numbers, the value is 0. |
summary | string | Test case summary. |
state | string | Current workflow state. Read only. |
createdbyuser | string | User who entered the test case. Set to the current SOAP user if another value is not specified. See Formatting name fields for formatting information. |
datetimecreated | DateTime | Date the test case was added. |
locationaddedfrom | string | Method used to add the test case. Read only. |
modifiedbyuser | string | User who last modified the test case. |
datetimemodified | DateTime | Date the test case was last modified. |
customFieldList | CField[] | Custom field values for the test case. |
eventList | CEvent[] | Workflow events associated with the test case. |
actualhours | double | Total number of actual effort hours. Read only. |
estimatedhours | double | Number of estimated hours to complete the test case. Read only. |
remaininghours | double | Number of remaining hours to complete the test case. Read only. |
variance | double | Difference between actualhours and remaininghours compared to estimatedhours. Read only. |
storypoints | long | Unit-less quantity representation of time remaining. |
percentdone | long | Percent complete for the test case. Read only. |
type | string | Dropdown list value. May be a renamed field. Use getDropdownFieldValuesForTable to retrieve a list of field values. |
testrunstepsmode | string | Generated test run view. Valid values: Grid View, Detail Grid View, or Text View. |
isautomated | boolean | Indicates if the test case is automated. |
estimatedtime | string | Estimated run time (hh:mm:ss). |
steps | string | Test run steps and expected results. See Test case and manual test run markup codes for information about available codes to indicate steps, comments, and results. |
testVariants | CTestCaseVariantField[] | List of test variants in the test case. |
attachmentList | CFileAttachment[] | CFileAttachment items associated with the test case. |
sccFileList | CSCCFileRecord[] | Source control files attached to the test case. |
Returned by
Used in