Skip to main content
Glama

generate_draft_test_by_key

Generate draft test code from Zebrunner test cases with automatic framework detection for Java, JavaScript, and Python testing frameworks.

Instructions

🧪 Generate draft test code from Zebrunner test case with intelligent framework detection

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
case_keyYesTest case key (e.g., 'ANDROID-6')
file_pathNoFile path for saving generated code (optional)
generate_page_objectsNoGenerate page object classes
implementation_contextYesImplementation context (existing code, file paths, or framework hints)
include_assertions_templatesNoInclude assertion templates
include_data_providersNoInclude data provider templates
include_setup_teardownNoInclude setup and teardown code
include_suite_hierarchyNoInclude featureSuiteId and rootSuiteId information
output_formatNoOutput format for generated testcode
project_keyNoProject key (auto-detected from case_key if not provided)
target_frameworkNoTarget test framework (auto-detected if 'auto')auto

Latest Blog Posts

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/maksimsarychau/mcp-zebrunner'

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