update_test_case_step
Update an existing test step in QMetry by modifying its step details, expected result, or test data. Requires the test case ID and step ID.
Instructions
Edit an existing test step (PUT …/versions/{v}/teststeps with a JSON array). stepId is the numeric id from get_test_case_steps. Provide at least one of stepDetails, expectedResult, testData.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | QMetry project ID (default: none) | |
| testCaseId | Yes | Internal id or key | |
| versionNo | No | ||
| stepId | Yes | Step id from test step search/list | |
| stepDetails | No | Action / step text | |
| expectedResult | No | ||
| testData | No | ||
| useLatestVersion | No | If true, use /versions/latest/… in the path instead of versionNo |