Create a test case
qtest_create_test_caseCreate a test case in a qTest module, optionally adding ordered steps and custom field values. Supports preconditions and descriptions.
Instructions
Create a test case inside a module. You can include ordered test steps and custom field values (fieldId -> value map).
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": {
"projectId": "<projectId>",
"parentId": "<parentId>",
"name": "<name>"
},
"name": "qtest_create_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Test case name. | |
| steps | No | Ordered test steps (description + expected result). | |
| fields | No | Custom field values keyed by numeric field id. | |
| parentId | Yes | Module ID the test case will be created under. | |
| projectId | Yes | Numeric project ID. | |
| description | No | Optional description. | |
| precondition | No | Optional precondition. |