How-to
Test case generation
Test case generation
Test case generation drafts test cases from a task description (or a bug context) before you edit them in the catalog. The AI assistant supplies a format prompt; you run your own model, then import the JSON array.
Role: a team member with write access to the project.
ComplexQA does not host or run a language model. Copy the product prompt, paste your materials into your own model, and return only a JSON array (no markdown fences).
Steps
- Open AI assistant in the project (or the matching card on the project overview).
- Open the card for test cases from a description (or from a bug, when that card is shown).
- Copy the prompt from the dialog.
- Paste the prompt and your materials into your own model.
- Take only the JSON array from the model reply - no markdown fences.
- Paste the array into the import dialog.
- Click Check JSON.
- Fix errors if any, then create.
At most 50 cases are created in one import. Drafts typically start in status PENDING and may receive the tag AI_GENERATED when that path applies. If you opened the dialog from a suite listing while that suite is selected, cases go into that suite. From a bug page, links to that bug can apply when the product shows that entry point.
Alternative paths
- Autotest steps from a page: Autotest generation from a page.
- Bulk import without the assistant cards: Test case import.
- One case by hand: Test case creation.
Did this page help?