Writing your first test

This guide will walk you through creating your first test, connecting a device, and using AI to generate test steps automatically.

1. Create a New Test

From the main dashboard, click the Create New button to start building a new test case.

2. Configure Your Test

A panel will slide out from the right where you can configure your test.

  • Test Name: Give your test a descriptive name, like test explore page.

  • Add App: Click Browse Apps to select the application you want to test. Choose an existing app or add a new one. For this guide, we'll select Wikipedia.

  • App Version: Select the specific version of the app you wish to use for the test.

3. Open the Editor

Once your test is configured, click Open in Editor to go to the test creation screen.

4. Connect a Device

The test editor is where you'll build and interact with your test. First, you need to connect a device.

  1. On the left side of the screen, click the + Add device button.

  2. A modal will appear. Select Local device and choose your connected device from the list of Available devices.

  3. Click the Add device button.

Your device's screen will now be mirrored in the editor, and the first step, Connect to Android - Device#1, will be marked as complete.

5. Launch the App

The second step, Launch Wikipedia app, is already added to your test steps. To execute it:

  1. Hover over the step.

  2. Click Run only this from the options that appear.

The Wikipedia app will launch on your connected device, and you'll see it update in the editor.

6. Generate Steps with AI

Now, let's use AI to automatically generate the rest of our test steps.

  1. Click the Generate with AI button at the top right of the Test Steps panel.

  2. In the text box, describe the user flow you want to test in plain English. For example: skip and navigate to explore page and verify if the explore page is in English

  3. Press Enter or click the send icon to run the command.

The AI will now take control, performing the actions on the device and adding each corresponding step to your test case in real-time.

7. Review and Save

Once the AI has finished, it will display a "completed" message. You will see the new steps added to your test flow, such as Tap on the Skip button and Verify that the explore page is in English.

Click Save Changes to save your completed test case.

You've successfully created your first test case! You can now re-run this test anytime or add more steps to it.

Last updated