-
Notifications
You must be signed in to change notification settings - Fork 1
TestObj
parkd126 edited this page Dec 21, 2018
·
6 revisions
| Name | Type | Description | Request Methods |
|---|---|---|---|
| assignedToId | Int | The ID of the user the test is assigned to | getTest, getTests |
| caseId | Int | The ID of the related test case | getTest, getTests |
| estimate | Timespan | The estimate of the related test case, e.g. "30s" or "1m 45s" | getTest, getTests |
| estimateForecast | Timespan | The estimate forecast of the related test case, e.g. "30s" or "1m 45s" | getTest, getTests |
| id | Int | The unique ID of the test | getTest, getTests |
| milestoneId | Int | The ID of the milestone that is linked to the test case | getTest, getTests |
| priorityId | Int | The ID of the priority that is linked to the test case | getTest, getTests |
| refs | String | A comma-separated list of references/requirements that are linked to the test case | getTest, getTests |
| runId | Int | The ID of the test run the test belongs to | getTest, getTests |
| statusId | Int | The ID of the current status of the test | getTest, getTests |
| title | String | The title of the related test case | getTest, getTests |
| typeId | Int | The ID of the test case type that is linked to the test case | getTest, getTests |
| templateId | Int | The ID of the template (field layout) the test case uses (requires TestRail 5.2 or later) | getTest, getTests |
| customAutomationType | String | Custom field for synchronizing TestRail suites with Ranorex. See more | getTest, getTests |
| customExpected | String | The expected result after executing the test case. | getTest, getTests |
| customPreconds | String | The preconditions of this test case. Reference other test cases with [C#] (e.g. [C17]). | getTest, getTests |
| customStepsSeparated See more | List<Step> | The required steps to execute the test case. | getTest, getTests |
| customSteps | String | The required steps to execute the test case. | getTest, getTests |
| customMission | String | A high-level overview of what to test and which areas to cover, usually just 1-2 sentences. | getTest, getTests |
| customGoals | String | A detailed list of goals to cover as part of the exploratory sessions. | getTest, getTests |
Returns an existing test.
| Name | Type | Description | Required |
|---|---|---|---|
| testId | Int | The ID of the test | Yes |
val someTestId = 1
val testObjFoo = TestObj().getTest(someTestId)
Returns a list of tests for a test run.
| Name | Type | Description | Required |
|---|---|---|---|
| runId | Int | The ID of the test run | Yes |
| statusId | List<Int> | A comma-separated list of status IDs to filter by | No |
val someRunId = 1
val actualTestObjList = TestObj().getTests(someRunId)