Skip to content

Update Test Case API

gcvfi edited this page Apr 2, 2020 · 3 revisions

Back to AIQ API Guide | Home


Note: Draft content, work in progress


Create Test Case API

Sample

Request

 
  URL: /platform/v1/projects/[project_id]/testcases/[testcase_id]/updateLveAndRecoverSteps
  Method: POST

  Hearders
    Authorization: "Bearer [auth_token]"
    Content-Type: "application/json"

Request Body

We need to send both recoverSteps and brokenDownSteps for this operation

{
    "recoverSteps": [
        {
            "data": "https://www.google.com/search?q=usa+time",
            "instr": "open website",
            "expectedResults": "",
            "xpath": "",
            "stepId": ""
        },
        {
            "data": "london",
            "instr": "Enter text",
            "columnName": "",
            "expectedResults": "",
            "xpath": "",
            "stepId": ""
        },
        {
            "data": "",
            "instr": "Hit Enter",
            "columnName": "",
            "expectedResults": "",
            "xpath": "",
            "stepId": ""
        }
    ],
    "brokenDownSteps": []
}

Response Body

Response body is empty for this request

See also

Clone this wiki locally