{
    "componentChunkName": "component---src-templates-page-jsx",
    "path": "/docs/test-management/qi-home/ad-hoc/generate-test-cases/",
    "result": {"data":{"markdownRemark":{"html":"<br>\n<p><strong>Write your prompt, click Generate with AI, and Atto builds your test cases.</strong></p>\n<hr>\n<p>This article covers how to trigger test case generation in Ad-Hoc and what Atto does during the process. Before generating, make sure you have attached your context sources and written your prompt. See <a href=\"https://testsigma.com/docs/test-management/qi-home/ad-hoc/attach-context-sources/\">Attach Context Sources</a> and <a href=\"https://testsigma.com/docs/test-management/qi-home/ad-hoc/write-effective-prompts/\">Write Effective Prompts</a>.</p>\n<hr>\n<blockquote>\n<h2 id=\"prerequisites\" style=\"position:relative;\"><a href=\"#prerequisites\" aria-label=\"prerequisites permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Prerequisites</strong></h2>\n<p>Before you begin, ensure that:</p>\n<ul>\n<li>The Playground is open from <strong>QI Home > Adhoc</strong>. See <a href=\"https://testsigma.com/docs/test-management/qi-home/ad-hoc/attach-context-sources/\">Attach Context Sources</a> and <a href=\"https://testsigma.com/docs/test-management/qi-home/ad-hoc/write-effective-prompts/\">Write Effective Prompts</a> if you have not done this yet.</li>\n<li>You have attached at least one context source and written your prompt.</li>\n</ul>\n</blockquote>\n<hr>\n<h2 id=\"trigger-generation\" style=\"position:relative;\"><a href=\"#trigger-generation\" aria-label=\"trigger generation permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Trigger Generation</strong></h2>\n<ol>\n<li>From the left navigation bar, go to <strong>QI Home</strong>.</li>\n<li>The <strong>Adhoc</strong> tab opens by default. Click <strong>Generate with Atto</strong>.</li>\n<li>In the <strong>Playground</strong>, attach your context sources and write your prompt.</li>\n<li>Click <strong>Generate with AI</strong>.</li>\n</ol>\n<p>Atto begins generating test cases. The generation log appears in the left panel, showing each step as it progresses.</p>\n<hr>\n<h2 id=\"what-happens-during-generation\" style=\"position:relative;\"><a href=\"#what-happens-during-generation\" aria-label=\"what happens during generation permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>What Happens During Generation</strong></h2>\n<p>After you click <strong>Generate with AI</strong>, Atto begins building your test cases. You can watch the progress in the left panel as each step completes. Generation typically takes 5–10 minutes depending on the amount of context attached.</p>\n<!-- screenshot: Left panel showing generation progress with steps marked complete -->\n<div class=\"custom-block alert alert-info\"><div class=\"custom-block-heading\"><strong>NOTE</strong>:</div><div class=\"custom-block-body\"><p>Atto searches your existing test library during generation to avoid duplicating coverage you already have. If you want faster generation without this check, you can disable it in the Playground.</p></div></div>\n<hr>\n<h2 id=\"review-the-generation-summary\" style=\"position:relative;\"><a href=\"#review-the-generation-summary\" aria-label=\"review the generation summary permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>Review the Generation Summary</strong></h2>\n<p>When generation completes, the left panel shows a summary of what Atto produced.</p>\n<!-- screenshot: Generation summary showing test type breakdown and scenario-to-story table -->\n<p>The summary includes:</p>\n<ul>\n<li><strong>Test type breakdown</strong>: The number of test cases by type: Functional, Non-Functional, User Experience, and Integration.</li>\n<li><strong>Scenarios with full test cases</strong>: A table listing each scenario, its mapped story, and the number of test cases generated.</li>\n<li><strong>Reusable Step Groups proposed</strong>: Step groups Atto identified from your test library that apply to the generated scenarios.</li>\n<li><strong>Remaining Scenario Outlines</strong>: Scenarios that have been created as stubs but not yet fully filled. These are organized by area (for example, Search, Filters, Checkout). You can fill them later using the Playground.</li>\n</ul>\n<div class=\"custom-block alert alert-info\"><div class=\"custom-block-heading\"><strong>NOTE</strong>:</div><div class=\"custom-block-body\"><p>Remaining Scenario Outlines are not test cases yet. They are placeholders Atto created to flag areas that need coverage. See <a href=\"https://testsigma.com/docs/test-management/qi-home/use-playground/\">Use Playground</a> to generate full test cases from them.</p></div></div>\n<hr>\n<h2 id=\"after-generation\" style=\"position:relative;\"><a href=\"#after-generation\" aria-label=\"after generation permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><strong>After Generation</strong></h2>\n<p>Once generation completes, QI Home updates to show your new Ad-Hoc session in the left sidebar with the session title, total test case count, and In Progress status.</p>\n<p>The main area switches to the session detail view with three tabs: <strong>Tests</strong>, <strong>Coverage</strong>, and <strong>Test Plan</strong>.</p>\n<p>From here you can:</p>\n<ul>\n<li>Review and accept test cases from the <strong>Tests</strong> tab. See <a href=\"https://testsigma.com/docs/test-management/qi-home/review-and-accept-test-cases/\">Review and Accept Test Cases</a>.</li>\n<li>Add more context or generate additional test cases by clicking <strong>Open Playground</strong>. See <a href=\"https://testsigma.com/docs/test-management/qi-home/use-playground/\">Use Playground</a>.</li>\n<li>Track coverage and gaps from the <strong>Coverage</strong> tab. See <a href=\"https://testsigma.com/docs/test-management/qi-home/coverage-and-gaps/\">Coverage and Gaps</a>.</li>\n</ul>\n<hr>","frontmatter":{"title":"Generate Test Cases","page_title":"Generate Test Cases (Ad-Hoc)","metadesc":"Write your prompt, click Generate with AI, and Atto builds your test cases. Learn how to trigger Ad-Hoc generation and read the generation summary.","noindex":false,"contextual_links":[{"type":"section","name":"Contents","url":null},{"type":"link","name":"Prerequisites","url":"#prerequisites"},{"type":"link","name":"Trigger Generation","url":"#trigger-generation"},{"type":"link","name":"What Happens During Generation","url":"#what-happens-during-generation"},{"type":"link","name":"Review the Generation Summary","url":"#review-the-generation-summary"},{"type":"link","name":"After Generation","url":"#after-generation"}]},"fields":{"slug":"/docs/test-management/qi-home/ad-hoc/generate-test-cases/"}}},"pageContext":{"slug":"/docs/test-management/qi-home/ad-hoc/generate-test-cases/","prev":{"fields":{"slug":"/docs/test-management/qi-home/ad-hoc/write-effective-prompts/"},"frontmatter":{"title":"Write Effective Prompts","metadesc":"The quality of your prompt determines the quality of Atto output. Learn how to write clear, specific prompts that generate accurate, relevant test cases.","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}},"next":{"fields":{"slug":"/docs/test-management/qi-home/sprints/generate-test-cases/"},"frontmatter":{"title":"Generate Test Cases","metadesc":"When a sprint starts, Atto detects it and generates test cases automatically from the sprint stories and linked artifacts. Learn how sprint detection works.","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}}}},
    "staticQueryHashes": ["2855385900","63159454"]}