QMetry: Fetch Test Case Steps
qmetry_fetch_test_case_stepsRetrieve step-by-step test case instructions and expected results using the numeric test case ID. Useful for manual test execution, documentation, and automation mapping.
Instructions
Get detailed test case steps for a specific test case by numeric ID
Toolset: Test Cases
Parameters:
projectKey (string): Project key - unique identifier for the project (default: "default")
baseUrl (string): The base URL for the QMetry instance (must be a valid URL)
id (number) required: Test Case numeric ID (required for fetching steps or version details). Accepts a string or number. This is the internal numeric identifier, not the entity key like 'MAC-TC-1684'. You can get this ID from test case search results.
version (number): Test Case version number (optional, defaults to 1). This is the internal numeric identifier for the version.
start (number): Start index for pagination - defaults to 0 (default: 0)
page (number): Page number to return (starts from 1) (default: 1)
limit (number): Number of records (default 10). (default: 10)
Output Description: JSON object with array of test steps including step description, expected result, and order
Use Cases: 1. Get step-by-step instructions with expected results 2. Retrieve test case execution procedure for manual runs 3. Export or display detailed test steps for documentation 4. Fetch steps before automation mapping
Examples:
Get steps for test case ID 123
{
"id": 123
}Expected Output: Detailed steps with actions and expected results for test case 123
Hints: 1. Requires numeric ID, not entityKey 2. If user provides entityKey (e.g., MAC-TC-1684), resolve it first via FETCH_TEST_CASES to get the numeric ID 3. Version defaults to 1 if not specified 4. Use pagination for test cases with many steps
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Test Case numeric ID (required for fetching steps or version details). Accepts a string or number. This is the internal numeric identifier, not the entity key like 'MAC-TC-1684'. You can get this ID from test case search results. | |
| page | No | Page number to return (starts from 1) | |
| limit | No | Number of records (default 10). | |
| start | No | Start index for pagination - defaults to 0 | |
| baseUrl | No | The base URL for the QMetry instance (must be a valid URL) | |
| version | No | Test Case version number (optional, defaults to 1). This is the internal numeric identifier for the version. | |
| projectKey | No | Project key - unique identifier for the project | default |