create_case
Create a new test case in a Qase project by specifying title, description, steps, preconditions, and other test attributes.
Instructions
Create a new test case in a project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Project code (2-10 uppercase letters, numbers, or underscores) | |
| title | Yes | Test case title | |
| description | No | Test case description | |
| preconditions | No | Preconditions for the test | |
| postconditions | No | Postconditions after the test | |
| severity | No | Test severity (label or numeric ID from the current workspace configuration) | |
| priority | No | Test priority (label or numeric ID: 0=not set, 1=high, 2=medium, 3=low) | |
| type | No | Test type (label or numeric ID: 1=functional, 2=smoke, 3=regression, 4=security, 5=usability, 6=performance, 7=acceptance) | |
| layer | No | Test layer (label or numeric ID from workspace configuration) | |
| is_flaky | No | Mark test case as flaky | |
| suite_id | No | Suite ID to organize test case | |
| milestone_id | No | Milestone ID | |
| behavior | No | Test behavior (label or numeric ID from workspace configuration) | |
| automation | No | Automation status | |
| status | No | Test case status (label or numeric ID from workspace configuration) | |
| steps | No | Array of test steps | |
| steps_type | No | Step format: 'classic' for structured steps, 'gherkin' for Given/When/Then scenarios | |
| tags | No | Tags for categorization | |
| attachments | No | Array of attachment hashes | |
| custom_field | No | Custom field values |