Skip to main content
Glama

Automation Script Generator MCP Server

generate_steps_file

Creates WDIO step definitions files from Gherkin syntax, enabling test automation. Reuses existing steps, manages selectors, and saves output to specified paths for efficient test suite generation.

Instructions

Generate WDIO step definitions file with functions to execute Gherkin syntax

Input Schema

NameRequiredDescriptionDefault
existing_stepsNoList of existing step functions to reuse
gherkin_syntaxYesGherkin syntax to generate steps for
output_pathYesPath where the steps file should be saved
scenario_titleYesTitle of the test scenario
selectorsNoSelectors for UI elements

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "existing_steps": { "description": "List of existing step functions to reuse", "items": { "type": "string" }, "type": "array" }, "gherkin_syntax": { "description": "Gherkin syntax to generate steps for", "minLength": 1, "type": "string" }, "output_path": { "description": "Path where the steps file should be saved", "minLength": 1, "type": "string" }, "scenario_title": { "description": "Title of the test scenario", "minLength": 1, "type": "string" }, "selectors": { "description": "Selectors for UI elements", "type": "object" } }, "required": [ "scenario_title", "gherkin_syntax", "output_path" ], "type": "object" }

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