Skip to main content
Glama

Automation Script Generator MCP Server

process_test_scenario

Process test scenarios with Gherkin syntax and generate complete WDIO test files by analyzing and managing UI selectors, data items, and output directories. Streamline automation script creation for efficient test suite development.

Instructions

Process a test scenario provided directly by the user and generate complete WDIO test files

Input Schema

NameRequiredDescriptionDefault
data_itemsNoTest data items and configurations (optional)
gherkin_syntaxYesComplete Gherkin syntax with Given/When/Then steps
output_directoryYesBase directory where all generated files should be saved
repo_pathNoPath to existing repository for pattern analysis (optional)
scenario_titleYesTitle of the test scenario
selectorsYesUI element selectors as key-value pairs (e.g., {"usernameInput": "#username", "loginButton": "[data-testid=login-btn]"})
tagsNoTest ID tags for the scenario (e.g., ["@login", "@smoke", "@TEST-001"])

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "data_items": { "description": "Test data items and configurations (optional)", "type": "object" }, "gherkin_syntax": { "description": "Complete Gherkin syntax with Given/When/Then steps", "minLength": 1, "type": "string" }, "output_directory": { "description": "Base directory where all generated files should be saved", "minLength": 1, "type": "string" }, "repo_path": { "description": "Path to existing repository for pattern analysis (optional)", "type": "string" }, "scenario_title": { "description": "Title of the test scenario", "minLength": 1, "type": "string" }, "selectors": { "description": "UI element selectors as key-value pairs (e.g., {\"usernameInput\": \"#username\", \"loginButton\": \"[data-testid=login-btn]\"})", "type": "object" }, "tags": { "description": "Test ID tags for the scenario (e.g., [\"@login\", \"@smoke\", \"@TEST-001\"])", "items": { "type": "string" }, "type": "array" } }, "required": [ "scenario_title", "gherkin_syntax", "selectors", "output_directory" ], "type": "object" }

Other Tools from Automation Script Generator MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/raymondsambur/automation-script-generator'

If you have feedback or need assistance with the MCP directory API, please join our Discord server