{
    "componentChunkName": "component---src-templates-page-jsx",
    "path": "/docs/test-management/atto/best-practices/generating-test-cases/",
    "result": {"data":{"markdownRemark":{"html":"<br>\n<p><strong>Maximize the accuracy of AI-generated test cases from Atto by providing structured prompts, high-quality assets, &#x26; clear testing goals.</strong></p>\n<hr>\n<p>AI-powered test generation in Test Management by Testsigma is only as effective as the inputs you provide. With structured, detailed, and relevant context, you can drastically improve the quality, accuracy, and usefulness of your generated test cases. This article discusses the best practices for using common input types for test case generation. </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,</p>\n<ul>\n<li>Ensure necessary integrations, such as Jira and Figma are connected to Test Management by Testsigma</li>\n<li>Have necessary files, designs, and user stories before starting test generation.</li>\n</ul>\n</blockquote>\n<hr>\n<h2 id=\"prompts\" style=\"position:relative;\"><a href=\"#prompts\" aria-label=\"prompts 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>Prompts</strong></h2>\n<p>Prompts are your primary way to communicate your intent to Atto. A well-structured prompt should provide clarity on the goal, the context, and the expected results.</p>\n<h3><strong>Best Practices:</strong></h3>\n<ul>\n<li><strong>Define the goal clearly</strong>: Describe what you're trying to test or achieve.</li>\n<li><strong>Attach what you have</strong>: Attach available assets like stories, designs, and files.</li>\n<li><strong>Describe what you want</strong>: Mention the type of test cases you're expecting, like functional, negative, security, edge cases, etc.</li>\n<li><strong>Include acceptance or validation criteria</strong>: Help the Atto understand what success looks like.</li>\n</ul>\n<p><strong>Here’s a sample prompt to give you an idea of how to write:</strong></p>\n<p><strong>Goal</strong>: Generate test cases for an e-commerce checkout flow.</p>\n<p><strong>What I Have</strong>:</p>\n<ul>\n<li>Guest checkout and logged-in checkout options</li>\n<li>Payment methods: Credit Card, UPI, Wallet, COD</li>\n<li>Order confirmation email and SMS</li>\n</ul>\n<p><strong>What I Want</strong>:</p>\n<ul>\n<li>Test all checkout variations</li>\n<li>Include payment failure scenarios</li>\n<li>Cover address validation and coupon application</li>\n</ul>\n<p><strong>Expected Outcomes:</strong></p>\n<ul>\n<li>Full coverage of the checkout flow</li>\n<li>Identification of failure and retry paths</li>\n<li>Ensure the system gracefully handles exceptions</li>\n</ul>\n<blockquote>\n<p><strong>What to Avoid</strong></p>\n<ul>\n<li>Avoid vague or one-line prompts like \"generate test cases.\"  (keep it in H3)</li>\n<li>Don’t leave out dependencies or user roles if they’re relevant.</li>\n</ul>\n</blockquote>\n<hr>\n<h2 id=\"jira-stories\" style=\"position:relative;\"><a href=\"#jira-stories\" aria-label=\"jira stories 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>Jira Stories</strong></h2>\n<p>Jira stories are often the primary source of truth for features. High-quality stories result in better test cases.</p>\n<h3><strong>Best Practices:</strong></h3>\n<ul>\n<li><strong>Use a meaningful summary</strong>: It should briefly state the user story or goal.</li>\n<li><strong>Provide a user-focused description</strong>: Describe the user scenario and expected behavior.</li>\n<li><strong>Include acceptance criteria</strong>: Define what conditions need to be met for the feature to be considered complete.</li>\n<li><strong>Attach supporting assets</strong>: Attach diagrams, mockups, Figma links, API endpoints, and relevant files.</li>\n<li><strong>Add related past stories (if still valid)</strong>: Past stories can provide historical context.</li>\n</ul>\n<p><strong>Here’s an example of a well-written Jira story:</strong></p>\n<ul>\n<li><strong>Summary</strong>: Enable guest checkout option</li>\n<li><strong>Description</strong>: As a guest user, I want to place an order without creating an account so that I can buy products quickly.</li>\n<li>\n<p><strong>Acceptance Criteria</strong>:\t</p>\n<ul>\n<li>Users can enter a shipping address without login. </li>\n<li>The system saves order with guest details.</li>\n<li>The user receives email confirmation.</li>\n</ul>\n</li>\n<li>\n<p><strong>Attachments</strong>:</p>\n<ul>\n<li>Figma mockup</li>\n<li>API endpoints</li>\n<li>Flow diagrams</li>\n</ul>\n</li>\n</ul>\n<blockquote>\n<p><strong>What to Avoid</strong></p>\n<ul>\n<li>Vague summaries like “guest flow update.”</li>\n<li>Missing or incomplete acceptance criteria.</li>\n<li>Stories without any attachments or references.</li>\n</ul>\n</blockquote>\n<hr>\n<h2 id=\"figma-designs\" style=\"position:relative;\"><a href=\"#figma-designs\" aria-label=\"figma designs 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>Figma Designs</strong></h2>\n<p>Figma files help Atto to visualize the UI flow and element relationships. Structured, labeled designs improve accuracy in generated test cases.</p>\n<h3><strong>Best Practices:</strong></h3>\n<ul>\n<li><strong>Organize frames by feature or flow</strong>: Keep related screens together to maintain context.</li>\n<li>\n<p>Use clear and consistent naming for frames</p>\n<ul>\n<li><strong>Example:</strong> </li>\n<li>Checkout - Shipping </li>\n<li>Checkout - Payment </li>\n<li>Checkout - Confirmation</li>\n</ul>\n</li>\n<li><strong>Avoid mixing unrelated flows</strong>: Don't select frames from multiple features in one batch.</li>\n</ul>\n<hr>\n<h2 id=\"images\" style=\"position:relative;\"><a href=\"#images\" aria-label=\"images 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>Images</strong></h2>\n<p>Use images only when necessary, and ensure they convey clear information.</p>\n<h3><strong>Best Practices:</strong></h3>\n<ul>\n<li>\n<p><strong>Use screenshots to show a specific state</strong></p>\n<ul>\n<li><strong>Example</strong>: error messages, confirmation modals, or specific UI conditions.</li>\n</ul>\n</li>\n<li><strong>Annotate if necessary</strong>: Highlight relevant areas or elements for clarity.</li>\n<li><strong>Upload high-quality images</strong>: Avoid blurry images.</li>\n<li><strong>Use images as supplementary input</strong>: They work best when they’re attached along with Jira stories and prompts.</li>\n</ul>\n<blockquote>\n<p><strong>What to Avoid</strong></p>\n<ul>\n<li>The entire screenshots with no explanation.</li>\n<li>Uploading images without context.</li>\n<li>Large file sizes</li>\n</ul>\n</blockquote>\n<hr>\n<h2 id=\"videos\" style=\"position:relative;\"><a href=\"#videos\" aria-label=\"videos 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>Videos</strong></h2>\n<p>Videos are highly effective when there is no written or visual documentation available.</p>\n<h3><strong>Best Practices:</strong></h3>\n<ul>\n<li><strong>Keep videos short and focused (2–3 minutes max)</strong></li>\n<li><strong>Narrate or annotate the flow</strong>: Explain what you’re doing, especially if the workflow isn’t concrete.</li>\n<li><strong>Highlight key interactions</strong>: Hovering, clicks, validations, and any user decisions should be clearly visible.</li>\n<li><strong>Ensure good video quality</strong>: Use a screen recording tool and avoid shaky or unclear recordings.</li>\n</ul>\n<p><strong>When to Use</strong></p>\n<ul>\n<li>You’re demonstrating a complex or interactive feature not yet documented</li>\n<li>You want to show a working prototype or behavior edge cases</li>\n<li>The UI flow is nonlinear or has conditional steps</li>\n</ul>\n<hr>\n<h2 id=\"bonus-tips\" style=\"position:relative;\"><a href=\"#bonus-tips\" aria-label=\"bonus tips 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>Bonus Tips</strong></h2>\n<h3><strong>1. Use Test Case Options Effectively</strong></h3>\n<p>After generating test cases with Atto, you can curate and enhance the test cases using the following options.</p>\n<ul>\n<li><strong>Combine Test Cases</strong>: Merge duplicates or closely related test cases to improve clarity and reduce redundancy.</li>\n<li><strong>Remove Irrelevant Cases</strong>: Delete any test cases that do not align with the feature scope or current functionality.</li>\n<li>\n<p><strong>Refine with AI</strong>: Use the Refine with AI option to add missing details like:</p>\n<ul>\n<li>Test data</li>\n<li>Verification steps</li>\n<li>\n<p>Flow &#x26; UI context</p>\n<p><img src=\"https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/Atto_Testsigma/Refine_Tests_with_AI.png\" alt=\"Refine with AI\"></p>\n</li>\n</ul>\n<p> Refining ensures each test case is actionable, traceable, and ready for manual execution or automation.</p>\n</li>\n</ul>\n<h3><strong>2. Work Within a Single Feature Context</strong></h3>\n<p>To get accurate, focused, and manageable test case generation from Atto, always create a session in Atto’s Home around a single feature or a group of closely related features.</p>\n<ul>\n<li>Group relevant assets such as user stories, Figma designs, API endpoints, and files related to that one feature.\n<img src=\"https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/Atto_Testsigma/All_Inputs_for_AI.png\" alt=\"All Inputs for AI\"></li>\n<li>Avoid mixing unrelated contexts in the same session to prevent confusing or inaccurate outputs.</li>\n<li>\n<p>Use the prompt area effectively by clearly stating:</p>\n<ul>\n<li>The feature under test</li>\n<li>The context you’re providing (stories, designs, workflows, etc.)</li>\n<li>The expected outcomes from the AI-generated test cases\n<img src=\"https://s3.amazonaws.com/static-docs.testsigma.com/new_images/projects/Atto_Testsigma/Clear_Prompt_Example.png\" alt=\"Example Prompt\"></li>\n</ul>\n</li>\n</ul>\n<hr>","frontmatter":{"title":"Best Practices to Generate Test Cases with Atto","page_title":"Best Practices to Generate Test Cases with Atto","metadesc":"Learn best practices to generate comprehensive test cases using Atto’s capabilities | Simplify and accelerate test automation with using the best practoces for test generation","noindex":false,"contextual_links":[{"type":"section","name":"Contents","url":null},{"type":"link","name":"Prerequisites","url":"#prerequisites"},{"type":"link","name":"Prompts","url":"#prompts"},{"type":"link","name":"Jira Stories","url":"#jira-stories"},{"type":"link","name":"Figma Designs","url":"#figma-designs"},{"type":"link","name":"Images","url":"#images"},{"type":"link","name":"Videos","url":"#videos"},{"type":"link","name":"Bonus Tips","url":"#bonus-tips"}]},"fields":{"slug":"/docs/test-management/atto/best-practices/generating-test-cases/"}}},"pageContext":{"slug":"/docs/test-management/atto/best-practices/generating-test-cases/","prev":{"fields":{"slug":"/docs/test-management/atto/bug-reporter-agent/report-bugs/"},"frontmatter":{"title":"Report Bugs Directly from Atto","metadesc":"Use Atto to execute test cases & report bugs directly to Jira | This simplifies the testing process by keeping execution and bug reporting in one place","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}},"next":{"fields":{"slug":"/docs/test-management/atto/best-practices/writing-best-prompts/"},"frontmatter":{"title":"Writing Best Prompts that Generate the Best Test Cases","metadesc":"Learn how to write clear prompts that guide Atto to generate accurate, relevant test cases. No rework, just the ones you need with right prompts.","canonical":null,"keywords":null,"social_share_summary":null,"social_share_desc":null,"social_share_image":null,"noindex":false}}}},
    "staticQueryHashes": ["2855385900","63159454"]}