create_test_step
Add structured steps to test cases with types like action, assertion, input, or info for automated test creation.
Instructions
Add a step to a test case.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"testCaseId": "<testCaseId>",
"stepOrder": "<stepOrder>",
"stepType": "<stepType>"
},
"name": "create_test_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Optional URL for navigation or verification. | |
| value | No | Optional value input (e.g., typed text). | |
| action | No | The action to perform (e.g., 'click', 'type'). | |
| expected | No | Optional expected assertion string. | |
| selector | No | Optional DOM selector target. | |
| stepType | Yes | The type of the step. | |
| stepOrder | Yes | The execution order index (1-based). | |
| testCaseId | Yes | The ID of the parent test case. | |
| description | No | Optional step description. | |
| expectedJson | No | Optional expected JSON object for assertion. | |
| otpProviderId | No | Optional OTP provider ID. |