What Mobile Agent Can Do

Updated by Kashif Hussain

The Mobile Agent tests your app from a plain-English prompt on a real Android or iOS device. It can tap, type, swipe, long press, wait, check text and images, handle optional pop-ups, switch to other apps, reset your app, call APIs and use your Testing Data.

After a run you can save the prompt, schedule it, or convert the run into a No-Code test case with Save as Test Case. This page lists what you can ask for, what each action becomes when you convert, and what isn't supported yet.

Actions you can ask for

Action

Example prompt

Becomes this No-Code step

Tap

"Tap 'Shop Now'"

Click on the element the agent tapped (the whole button, not the text inside it)

Type or clear text

"Enter 'jane@example.com' in the email field"

Input text; the keyboard is closed afterwards so later taps aren't blocked

Swipe or scroll

"Scroll down 2 times", "Swipe left on the banner"

Swipe

Scroll until found

"Scroll down until you see 'Beauty', then tap it"

One Swipe Until step that targets 'Beauty'

Long press

"Long press the photo", "Two-finger long press the QR screen"

Long Click

Wait

"Wait 40 seconds"

Delay, with the time you asked for

Switch apps

"Open Chrome, then return to the app"

App Switcher steps

Reset the app

"hard reset the app"

The matching reset step

Open a deep link

"Open myapp://orders"

Deeplink

Mock location

"Set the location to Dubai"

Mock location

Call an API

"Call the Create Order API, then verify the new order appears in 'My Orders'"

API step

Check text

"Verify 'Women' is shown"

Text assert

Check an image or colour

"Verify the profile avatar is shown"

Visual Match, cropped to that element

Optional tap

"If a 'Rate this app' pop-up appears, tap 'Not now'"

Conditional step: run if present, otherwise skip

When an element has no ID, the agent finds it by its on-screen text (OCR).

Checks and conditions

Text checks. End a prompt with what success looks like, for example "Verify that the cart shows 2 tickets". Text checks convert to Text asserts. Text inside an image is read automatically.

Visual checks. Use them for images, icons, logos, avatars and colors.

Optional steps. Write a step with "if … appears", "if shown" or "if present", and it converts to a conditional step that runs only when its element is on screen.

  • If the element wasn't on screen during the run, the step is still added as conditional, using its on-screen text, after your review.

Test data, app switches, waits and resets

Testing Data. Type {{ in the prompt box to pick a value, for example "Enter {{email}} in the email field". The converted step keeps the variable, not the value.

App switches. The agent can open Safari (iOS only), Chrome, Firefox or Maps and come back to your app. It switches apps directly instead so the test case doesn't depend on that screen's layout. A switch to an app that App Switcher can't open is added as a disabled step and flagged for review. See Switching between apps.

Waits. The agent waits the time you ask for, up to 180 seconds per wait. A longer wait is split, for example 180 s then 20 s for 200 s. For slow screens, write "Wait until the park list appears" before the next action.

Resets. The agent resets the app only when the prompt asks. Write one of these on its own line:

Phrase

What it does

hard reset the app

Reinstalls the app with clean data

soft reset the app

Closes the app and launches it again

relaunch the app

Sends the app to the background, then brings it back

kill the app

Closes the app

Not supported yet

The agent can't do these in a prompt yet. Convert the run, then add the step in the No-Code editor.


How did we do?