create_shared_step
Generate a shared step for test cases by defining actions, expected results, and data. Simplify test case creation and reuse across projects in QASE MCP Server.
Instructions
Create a new shared step
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | ||
code | Yes | ||
data | No | ||
expected_result | No | ||
steps | No | ||
title | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"action": {
"type": "string"
},
"code": {
"type": "string"
},
"data": {
"type": "string"
},
"expected_result": {
"type": "string"
},
"steps": {
"items": {
"additionalProperties": false,
"properties": {
"action": {
"type": "string"
},
"data": {
"type": "string"
},
"expected_result": {
"type": "string"
},
"position": {
"type": "number"
}
},
"required": [
"action"
],
"type": "object"
},
"type": "array"
},
"title": {
"type": "string"
}
},
"required": [
"code",
"title",
"action"
],
"type": "object"
}