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

# Your first UI test

> Record and run a browser test in minutes

# Your first UI test

UI tests record your browser interactions and replay them automatically. No code needed — just click through your app.

## Prerequisites

* A TestBrick account
* The [TestBrick Chrome Extension](https://chrome.google.com/webstore) installed

## Steps

<Steps>
  <Step title="Create a UI test">
    In your project folder, click **+** and select **UI Test**. Give it a name like "Login Flow".
  </Step>

  <Step title="Start recording">
    Click the **Record** button. The Chrome extension will start capturing your browser actions.
  </Step>

  <Step title="Interact with your app">
    Navigate to your app and perform the actions you want to test:

    * Click buttons
    * Fill in forms
    * Navigate between pages
    * Upload files

    Each action is captured as a test step.
  </Step>

  <Step title="Stop recording">
    Click **Stop Recording** when you're done. Your test steps appear in the step list.
  </Step>

  <Step title="Run your test">
    Click **Run Test** to replay your recorded steps. TestBrick executes each step in a real browser and reports the results.
  </Step>
</Steps>

## Execution modes

| Mode            | Description                              | Cost                  |
| --------------- | ---------------------------------------- | --------------------- |
| **Cloud**       | Runs on TestBrick's cloud browsers       | Uses test run credits |
| **Local Agent** | Runs on your machine via the local agent | Free, unlimited       |

<Tip>
  Install the [TestBrick Local Agent](/ui-testing/running-tests) to run tests for free on your own machine.
</Tip>

## What's captured

Each test step records:

* The action (click, type, navigate, etc.)
* Element locators (multiple strategies for reliability)
* Screenshots after each step
* Video recording of the full test run
