create_test_case
Creates a QTM4J test case with folder assignment via ID or automatic keyword matching. Returns test case ID and version number.
Instructions
Create a new test case in QTM4J. Returns testCaseId, versionNo, and optional folderId / pickedFolder / folderWarning. Use folderId, or autoPickFolder with optional folderKeywords.
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": {
"summary": "<summary>"
},
"name": "create_test_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | QMetry project ID (default: none) | |
| summary | Yes | Test case summary/title | |
| folderId | No | Place the new case in this folder (from list_test_case_folders flatFolders.id) | |
| autoPickFolder | No | If true, score folders using built-in Web/LEX-style keywords plus folderKeywords | |
| folderKeywords | No | Extra keywords matched against folder path (case-insensitive) |