> For the complete documentation index, see [llms.txt](https://docs.walnutai.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.walnutai.ai/core-features/intelligence-hub/generate-test-cases.md).

# Generate Test Cases

The **Test Cases** tab within the Intelligence Hub enables you to generate comprehensive manual and automated test cases through a unified workflow.

Whether your project information comes from **documents, generated requirements, Figma designs, audio or video recordings, Playwright projects, connected code repositories.** WalnutAI leverages AI to generate **detailed, structured, and executable manual test cases**, ensuring comprehensive coverage and traceability across your application lifecycle.

For automation, WalnutAI provides **Smart Recording**, enabling you to create automated test cases using two recording modes:

* **AI Recording**, where AI understands your prompt and automatically performs the required actions to generate automated test cases.
* **Manual Recording**, where you manually perform the application steps while WalnutAI records the actions and generates the corresponding automation scripts.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FsJ3FjyH4oSSdm21OWy8e%2FScreenshot%202026-08-06%20at%203.29.47%E2%80%AFPM.png?alt=media&amp;token=d2b0e4ba-aa30-47ae-80f3-5f5dd6f6bcbe" alt=""><figcaption></figcaption></figure>

You can also interact with the **WalnutAI Chatbot** to create, modify, or refine your generated test cases.

{% hint style="info" %}
**Note:** It is mandatory to click **Save** to retain the generated content. If you do not save, the generated test cases will be discarded and will no longer be available.
{% endhint %}

**After saving:**

* Manual and automated **Test Cases** are available in the **Test Cases** module.

The Intelligence Hub also includes a **History** section that provides a complete record of all interactions performed within the module. It maintains a chronological history of generated user stories, test cases, prompts, refinements, and AI responses across all supported input sources.

This allows you to initiate a new session, revisit previous generations, review modifications, track changes, and continue working from earlier interactions without losing context.
