> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/ai-test-automation/use-ai-test-automation/test-authoring/create-tests.md).

# Creating Tests with Interactive Authoring

Creating a test with Harness AI Test Automation's interactive authoring is simple and straightforward. This no-code approach allows you to navigate through your application and perform a specific work

### Quick Overview <a href="#quick-overview" id="quick-overview"></a>

To begin, click the `Create Test` button on the Test Listing page. The video below demonstrates how to create a test using interactive mode:<br>

{% embed url="<https://www.loom.com/share/1b7da99dac25492d85fcc8859ca47f55>" %}

### Getting Started <a href="#getting-started" id="getting-started"></a>

Follow these steps to create your first test:

1. Click the `Create Test` button on the test listing page to open the **Create Test** modal.
2. Complete the following fields:
   * **Environment Name**: Select the target environment where you'll create and initially run your test
   * **Start URL**: Enter the URL where your test will begin (typically your application's home page or another relevant page)
   * **Tunnel**: *Enterprise Customers Only* - Select a tunnel to access environments behind a firewall
   * **Automatically login**: Disabled by default. When enabled, you'll need to create an auto-login task and update your test environment with login credentials

{% hint style="info" %}
For more information about adding environments, go to [Add an application environment](/ai-test-automation/use-ai-test-automation/test-environments/adding-application-environments.md).
{% endhint %}

![](https://3826766287-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkdyOjoJRBxElRIRFmNjP%2Fuploads%2Fgit-blob-de4f7ed117f2966c2e4dfd4b6f003f4501c822ea%2Fcreat-first-test.png?alt=media)

After providing these inputs, Harness AI Test Automation (Harness AIT) will deploy a test pod, allowing you to begin test creation. If your start URL leads to a page behind a login screen, you'll need to record the login steps first.

When you click the `Create Test` button, as shown below, our demo app will display a screen to capture your login steps. During subsequent test runs in this environment, the test will automatically use these credentials.

![](https://3826766287-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkdyOjoJRBxElRIRFmNjP%2Fuploads%2Fgit-blob-f41127f68e57a73023596dcbfaea880158a4b3f2%2Fcreate-login-task-6.png?alt=media)

### Recording Test Steps <a href="#recording-test-steps" id="recording-test-steps"></a>

As you interact with your application, Harness AIT captures each step and displays them in the left navigation bar.

![Test Recording in Progress](https://3826766287-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkdyOjoJRBxElRIRFmNjP%2Fuploads%2Fgit-blob-fc7d3a9fd865eeabfffdcc5e4078171c6ced8469%2Ftest-details-page.png?alt=media)

During test creation, you can:

* Select [User Actions](/ai-test-automation/use-ai-test-automation/test-authoring/create-tests/user-actions.md) from the dropdown menu
* Add [Assertions](/ai-test-automation/use-ai-test-automation/test-authoring/create-tests/assertions.md) to verify expected outcomes
* Return to previous steps for modifications (use caution, as Harness AIT won't revalidate these changes)

If you need to resume recording after making changes, click the `Go Live` button to return the browser to its current state.

<figure><img src="https://3826766287-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkdyOjoJRBxElRIRFmNjP%2Fuploads%2FRSbyLxmHamIoaHtncko5%2Fimage.png?alt=media&amp;token=3ab321f4-c289-407c-b43b-d770e091f2c7" alt=""><figcaption></figcaption></figure>

The next sections will cover the various commands available during test creation.

{% @harness-feedback/feedback %}
