QuickStart

Install Maestro Studio, set up your environment, and run your first automated test in five minutes.

You are starting your journey with Maestro. This guide will help you install Maestro Studio, set up your environment, and execute your first automated test (called a Flow) in just five minutes.

1

Platform-specific setup

Maestro requires a running target device to execute your tests. Use the tabs below to configure your virtual environment.

  1. Download the latest version of Android Studio from the official sitearrow-up-right and install it.

  2. Open Android Studio, click More Actions, and select Virtual Device Manager.

  3. Click Create Virtual Device (+), select a modern device (e.g., Pixel 8), and download a system image (API 31 or higher is recommended).

circle-info

Maestro currently supports API Levels 29, 30, 31, 33, and 34. API 35 and 36 support is arriving in Q1 2026.

  1. Finish the wizard and click the Play button to start the emulator.

2

Installation

Download the appropriate installer for your operating system:

Follow the platform-specific installation prompts:

  • Windows: Double-click the .exe and follow the setup wizard.

  • macOS: Open the .dmg and drag Maestro Studio to your Applications folder.

  • Linux: Make the .AppImage executable and run it with the --no-sandbox flag:

    chmod +x MaestroStudio.AppImage
    ./MaestroStudio.AppImage --no-sandbox
3

Create your first test

Once your device is running and Maestro Studio is open, you can create your first Flow.

  1. Open Maestro Studio and click Choose new workspace location to define the directory on your computer to store your tests.

  1. Click the No device connected button at the top. Select your running Android Emulator or iOS Simulator from the list. The virtual device will pop up.

  2. Click Create a new test to open the setup window.

  1. On the Add a new test to your workspace window, select Mobile Test and enter the following:

  • Name: Name for your YAML file.

  • App Id: From the dropdown menu, select the App Id for testing. For this QuickStart, select com.google.android.contacts from the dropdown menu.

circle-info

You can also use the Scan file for App Id option to automatically detect the identifier from an .apk (Android) or .app/.zip (iOS) file.

You can also add tags to keep your tests organized.

  1. Click Create Test. Maestro will generate a minimal YAML file to launch the app.

4

Run your first test

With your first YAML file created, let's add a few commands to perform a search.

In the Maestro Studio editor, copy and paste the example below for your platform.

appId: com.google.android.contacts
---
- launchApp:
    clearState: true
- tapOn: Allow
- tapOn: Create contact
- tapOn: First name
- inputText: John
- tapOn: Last name
- inputText: Doe
- tapOn: Company
- inputText: Maestro
- tapOn: "+1"
- inputText: 111-111-1111
- tapOn: Save
- back
- takeScreenshot: All Contacts

The test launches the native Contacts app, creates a new entry, saves it, and captures a screenshot.

circle-info

To learn more about the commands you can use to create tests, access the Commands overviewpage.

To learn about how you can structure tests, also referred to in Maestro as Flows, access the Maestro Flows overview.

After pasting, click Run Locally. Watch your virtual device execute the steps automatically. Maestro Studio will highlight each step as it succeeds or provide a failure reason if an element cannot be found.

circle-check

Interactive Flow authoring

Video walkthrough

Watch this step-by-step video to see the first test creation process in detail:

Next steps

Now that you’ve seen the power of "arm's length" automation, explore these resources to master the ecosystem:

  • Visit the Maestro Studio overview to learn how to use visual element inspection and the Live REPL to build tests without writing code from scratch.

  • If you prefer a programmatic approach or need to integrate tests into your CI/CD pipeline, head to the Maestro CLI overview.

  • To learn the best practices for logic, modularity, and nesting, or learn how to add JavaScript scripts to your tests check out the Maestro Flows overview.

Last updated