Get Test Case
get_test_caseRetrieve a test case from QA Sphere by its marker (e.g., BDI-123) to access test details for development workflows.
Instructions
Get a test case from QA Sphere using a marker in the format PROJECT_CODE-SEQUENCE (e.g., BDI-123). You can use URLs like: https://acme-corp.eu2.qasphere.com/project/%PROJECT_CODE%/tcase/%SEQUENCE%?any Extract %PROJECT_CODE% and %SEQUENCE% from the URL and use them as the marker.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| marker | Yes | Test case marker in format PROJECT_CODE-TEST_CASE_SEQUENCE (e.g., BDI-123) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier of the test case | |
| pos | Yes | Ordered position (0-based) of the test case in its folder | |
| seq | Yes | Sequence number of the test case within its project (assigned incrementally) | |
| tags | No | List of test case tags | |
| type | Yes | Type of the test case. Known values: "standalone" | "template" | "filled" | |
| files | Yes | List of files attached to the test case | |
| links | Yes | Additional links relevant to the test case | |
| steps | No | List of test case steps | |
| title | Yes | Title of the test case | |
| comment | Yes | Test case precondition text (HTML). DEPRECATED — prefer the `precondition` object | |
| isDraft | Yes | Whether the test case is still in draft state | |
| isEmpty | Yes | Whether the test case is empty (has no precondition and steps) | |
| version | Yes | Version of the test case. Updates (except folder/pos) create a new version | |
| authorId | Yes | Unique identifier of the user who added the test case | |
| folderId | Yes | Identifier of the folder where the test case is placed | |
| legacyId | Yes | Legacy identifier of the test case (empty string if none is set) | |
| priority | Yes | Priority of the test case. Known values: "high" | "medium" | "low" | |
| createdAt | Yes | Test case creation time (ISO 8601) | |
| updatedAt | Yes | Test case last-update time (ISO 8601) | |
| customFields | No | Custom field values | |
| precondition | No | Test case precondition object (may be a shared or standalone precondition) | |
| requirements | No | Test case requirements | |
| isLatestVersion | Yes | Whether this is the latest version of the test case | |
| numFilledTCases | No | Number of corresponding filled test cases (only for template test cases) | |
| parameterValues | No | Parameter substitutions for filled test cases (only for template test cases) | |
| templateTCaseId | No | Corresponding template test case ID (only for filled test cases) | |
| filledTCaseTitleSuffixParams | No | Parameter names whose substituted values are appended to each filled test case title for disambiguation (only for template test cases). |