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

  1. Open AI assistant in the project (or the matching card on the project overview).
  2. Open the card for test cases from a description (or from a bug, when that card is shown).
  3. Copy the prompt from the dialog.
  4. Paste the prompt and your materials into your own model.
  5. Take only the JSON array from the model reply - no markdown fences.
  6. Paste the array into the import dialog.
  7. Click Check JSON.
  8. 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

Version 1.1.1 · Last updated 2026-09-11

Did this page help?