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
| Name | Required | Description | Default |
|---|---|---|---|
| case_key | Yes | Test case key (e.g., 'ANDROID-6') | |
| file_path | No | File path for saving generated code (optional) | |
| generate_page_objects | No | Generate page object classes | |
| implementation_context | Yes | Implementation context (existing code, file paths, or framework hints) | |
| include_assertions_templates | No | Include assertion templates | |
| include_data_providers | No | Include data provider templates | |
| include_setup_teardown | No | Include setup and teardown code | |
| include_suite_hierarchy | No | Include featureSuiteId and rootSuiteId information | |
| output_format | No | Output format for generated test | code |
| project_key | No | Project key (auto-detected from case_key if not provided) | |
| target_framework | No | Target test framework (auto-detected if 'auto') | auto |