Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Create a folder or phase

...

Code Block
languagejson
{
  "tcrCatalogTreeId": 18,
  	"testcase": {
    		      "name": "Testcase in Sub-Folder"
                    }
}

tcrCatalogTreeId - the ID of the folder where you want to create the test case.

...

{testcaseVersionId} - the ID of the test case version.
tctId - test case link ID in the test case tree.

Request body

Code Block
languagejson
{
  "tcId": 199,
  "maxId": 1,
  "step": {
    "step": "login to application",
    "data": "enter credentials",
    "result": "login successful",
    "orderId": 1
  },
    "tctId": 215
}

...

{testcaseVersionId} - the ID of the test case version.
tctId - test case link ID in the test case tree.

Request body

Code Block
languagejson
{
  "id": 4,
  "tcId": 6,
  "maxId": 1,
  "steps": [],
  "step": {
    "customProperties": {},
    "customProcessedProperties": {},
    "id": 7,
    "localId": 1,
    "orderId": 1,
    "step": "login to application update",
    "data": "enter credentials update ",
    "result": "login successful update",
    "customFieldProcessed": true,
    "customFieldValues": []
  },
  "maxVersionNumber": 1,
  "testcaseVersionId": 6,
  "releaseId": 1,
  "projectId": 1,
  "tctId": 7
}

...