> ## Documentation Index
> Fetch the complete documentation index at: https://docs.testgenai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test Cases

> Creating test cases with TestGenAI is the most important step to ensure your product is well-tested and high quality. The platform leverages AI to help you quickly generate, review, and manage comprehensive, detailed test cases from just your requirements.

## Steps to Create Test Cases

### 1. Prepare Your Project

Make sure you have already created a project and configured your test case preferences (test case types, desired detail level, etc.).

<CardGroup cols={2}>
  <Card title="Create project" icon="folder-open" href="/using-testgenai/projects">
    Create a project to manage features & test cases
  </Card>

  <Card title="Modules" icon="folder" href="/using-testgenai/modules">
    Create the folder to manage epic or multiple features
  </Card>
</CardGroup>

### 2. Open the Test Case Generator

* In the sidebar, click **+ New Test Cases** to open the test case creation screen.

### 3. Input Feature Requirements

You can enter your requirements in various formats:

* **Text input:**\
  Paste or type use cases, user stories, business rules, user flows, etc.
* **File upload:**\
  Upload up to 10 files (.pdf, .txt, images, etc.) to provide specifications, wireframes, or screenshots.

<img src="https://mintcdn.com/xbirds/_S7bMQeCJpK9fDhq/images/create-tcs.png?fit=max&auto=format&n=_S7bMQeCJpK9fDhq&q=85&s=429cb6484157d80db891619753e0a275" alt="Create Tcs Pn" width="2608" height="1134" data-path="images/create-tcs.png" />

### 4. Click "Create TCs"

* Optionally, select the language for your test cases if prompted.
* Click the **Create TCs** button to let AI process your requirements and propose checklist.

### 5. Review the Checklist

* AI will generate a **checklist** of all potential cases based on your requirements.
* The **checklist** is grouped by categories, sub-category and priorities (Critical, High, Medium, Low).

### 6. Refine the checklist (Optional)

* You can **comment, add, remove, or adjust** any **checklist** item.
* Once done, click **Update with changes** to re-sync the **checklist** with your adjustments.

<Card title="Update With Changes" icon="file-pen" href="/using-testgenai/update-with-changes">
  Edit, add comments then updating checklist following comments.
</Card>

### 7. Generate Test Cases

You have flexible options for generating test cases:

* **Generate All TCs:** Create test cases for every checklist item at once.
* **Generate TCs** by category or sub-category.
* **Generate TC** for a single checklist item.

<img src="https://mintcdn.com/xbirds/_S7bMQeCJpK9fDhq/images/generate-all-tcs.png?fit=max&auto=format&n=_S7bMQeCJpK9fDhq&q=85&s=ce199a16886053f0f69ba0ab98c0d145" alt="Generate All Tcs Pn" width="1714" height="1104" data-path="images/generate-all-tcs.png" />

#### Test Case Settings Popup

On the **first** **generate action** or clicking on **Setting** icon, you’ll see a popup to configure:

* **Test Case ID Prefix:** Set how your test cases are numbered (e.g. LEAD001).
* **Test Data Example:** Optionally provide test data. This will be sent to AI with each generation or update.

<img src="https://mintcdn.com/xbirds/_S7bMQeCJpK9fDhq/images/tcs-settings.jpg?fit=max&auto=format&n=_S7bMQeCJpK9fDhq&q=85&s=c15fe7fa640add4043b63e659c91d908" alt="Tcs Settings Jp" width="1198" height="1033" data-path="images/tcs-settings.jpg" />

You can update these **settings** anytime. Test data will be included each time you generate or update test cases.

### 8. Update Test Case

You have flexible requesting to regenerat test case with comment

<img src="https://mintcdn.com/xbirds/WPpcbVAOl1-n98YT/images/update-tc.png?fit=max&auto=format&n=WPpcbVAOl1-n98YT&q=85&s=70ee03edd0804d67b1a5c5e1858f7753" alt="Update Tc Pn" width="2142" height="592" data-path="images/update-tc.png" />

<Card title="Update Testcase" icon="sliders" href="/using-testgenai/UpdateTestCase">
  Comment and request to regenerate a test case
</Card>

### 9. View Test Case Generation History

* You can view all history of changes: checklist creation, test cases generation, additions, removals, translations, etc.

<CardGroup cols={2}>
  <Card title="Timeline" icon="timeline" href="/using-testgenai/timeline">
    View all history of changes
  </Card>

  <Card title="Versions" icon="code-branch" href="/using-testgenai/versions">
    View versions of testcase
  </Card>
</CardGroup>

### 10. Table View & Filtering

* Switch to **Table View** to view test cases in a grid, making it easy to search, filter, and review details.
* Filter by priority, category, sub-category, or search by keyword.

<img src="https://mintcdn.com/xbirds/_S7bMQeCJpK9fDhq/images/table-view.jpg?fit=max&auto=format&n=_S7bMQeCJpK9fDhq&q=85&s=f862743dc9a932a3978d96e62a446322" alt="Table View Jp" width="2006" height="1177" data-path="images/table-view.jpg" />

### 11. Continue Generation

* If not all test cases have been generated for a feature, click **Continue** to let the AI finish generating any remaining test cases.

<img src="https://mintcdn.com/xbirds/_S7bMQeCJpK9fDhq/images/continue-tcs.jpg?fit=max&auto=format&n=_S7bMQeCJpK9fDhq&q=85&s=cdc581a0898c42e0f7d4081442ed7342" alt="Continue Tcs Jp" width="1194" height="1128" data-path="images/continue-tcs.jpg" />

## Notes

* You can always return to refine requirements, add new files, or update the checklist.
* AI-generated test cases are customizable—review and adjust as needed for your team’s standards.
* The process supports both high-level checklist generation and detailed test cases, step-by-step test cases.

<Tip>
  **TIPS**

  * The more detailed and clear your requirements, the higher the quality of generated test cases.
  * Use images and files for complex flows or UI requirements.
  * Leverage the Table View for bulk management and review of large test case sets.
</Tip>

***

### 11. Other related features

<CardGroup cols={2}>
  <Card title="Translate Test Cases" icon="language" href="/using-testgenai/translate">
    Creates a new version with all test cases translated to selected language
  </Card>

  <Card title="Rebuild Checklist" icon="repeat" href="/using-testgenai/rebuild-checklist">
    Creates new checklist based on original requirements, ignoring current checklist
  </Card>

  <Card title="Clone checklist" icon="copy" href="/using-testgenai/clone-checklist">
    Remove all test cases, keep the checklist, and create a new version
  </Card>

  <Card title="Export TCs" icon="file-arrow-down" href="/using-testgenai/export">
    Export the selected test cases with selected fields and their orders
  </Card>
</CardGroup>
