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

# Test Case Generation

> Learn how to generate test cases from your recorded interactions

## Generating Test Cases

Transform your recorded web interactions into structured test cases with just a few clicks.

### Prerequisites

* Test Companion browser extension installed
* At least one recorded web interaction
* Active Test Companion account

### Step-by-Step Guide

#### 1. Record Your Interaction

Use the Test Companion browser extension to record your web interaction:

* Click the extension icon in your browser
* Start recording
* Perform the actions you want to test
* Stop recording when finished

#### 2. Access Recorded Steps

* Navigate to your Test Companion dashboard
* Select the "Recordings" section
* Find and click on your desired recording

#### 3. Generate Test Cases

* Locate the "Generate New Test Cases" button at the top of the recording page
* Click to initiate the AI-powered test case generation
* Wait while our system analyzes your recording and creates structured test cases

> [!NOTE]
>
> The generation process typically takes 1-2 minutes, depending on the
> complexity of your recording.

#### 4. Review Generated Cases

Once generation is complete, you'll be automatically redirected to the test cases page where you can:

* View all generated test cases in a list format
* Review test steps and expected outcomes
* Check preconditions and requirements

### Managing Test Cases

After generation, you have several options to manage your test cases:

> [card] Edit Cases
>
> Modify test steps, expected results, or add additional context

> [card] Delete Cases
>
> Remove unnecessary or duplicate test cases

&#x20;

> [card] Refine with AI
>
> Use AI assistance to enhance test case details

> [card] Generate More
>
> Create additional test case variations from the same recording

> [!TIP]
>
> You can generate multiple sets of test cases from the same recording to cover
> different testing scenarios and edge cases.

## Next Steps

* [Learn about bug reporting](https://docs.testcompanion.ai/features/bug-reporting)
* [Manage test requirements](https://docs.testcompanion.ai/features/requirements)
* [Export test cases](https://docs.testcompanion.ai/features/export)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.