AskUIDocs
Devices

Devices

Device profiles describe the machines and apps your tests run on. Create them once, connect, and target them from any test.

Tests run on devices: this machine, a browser, a phone. A device profile describes how to reach one. Connected profiles appear in every test's Run on picker, they are your test environments.

The Devices page with three device profiles, Windows Desktop, Chrome Browser, and a Pixel 9 Android emulator
On the pageMeaning
Windows DesktopThis machine's desktop via AgentOS, native applications
Chrome BrowserA local Chrome window the app launches itself, web tests
Pixel 9An Android emulator, created and booted by the app
Connect / StartThe green button on each card. Opens the session. Green dot = ready. Tests only run on connected devices
▾ (the arrow on the green button)Opens every other action of the device: Probe, Force Restart, Edit, Delete, and the machine's own actions
Probe (in the ▾ menu)Checks reachability without connecting
Force Restart (in the ▾ menu, Local and AskUI Companion profiles only)After a failed Connect: stops the standalone AgentOS controller on this PC and starts a fresh one, see Remote computer

A new project starts with a Local profile (this machine) and, where the machine supports it, a ready-made Android Emulator profile. Deleted defaults stay deleted.

Create a profile

  1. Click Add device.
  2. Pick the kind.
  3. Enter a name and the kind's fields. The optional Prompt field holds what the agent gets told about this device on every run, quirks the screen doesn't show ("always execute on display 1"). A Multi computer or Cross-platform profile passes on each member's prompt as well, under the member's name.
  4. Click Add device, then Connect the new card.
The Add device dialog with the device-kind picker
KindDeviceNotes
Remote computerAny machine running AgentOS, host, port, displayTest on a dedicated machine instead of your own
Web browserLocal browser session, Chromium, Firefox, or WebKitOptional start URL, headless
Android emulatorVirtual device on this machineAn Android emulator in the dialog; device type + Android version, created on first Start
iOS simulatorApple simulatormacOS only, greyed out on Windows
Multi computerSeveral desktops, one agentThe test names the machine per step ("on the server …, on the client …")
Cross-platformDesktop + Android + web in one profileConnect/status only, runs not supported yet
Android phoneA physical device via USB or wirelessAn Android device in the dialog lists the phones adb sees, Add as device adds one; also from the Android devices list below
iPhone via AskUI CompanionA physical iPhone behind an AskUI CompanionAdvanced setups → A device via Remote Companion Controller; needs the AskUI Companion from AskUI and AssistiveTouch on the iPhone

Each kind has its own page with the exact fields and setup.

What a device needs on this computer

Every device row says whether this computer has what the device needs. The button where Connect or Start sits reads one of four things:

Checking… — AskUI Desktop is still looking for the device's tools, for a moment after the page opens.

Set up — something is missing. The dialog lists the device's setups in the order they install, installs the next one with one click, and shows the manual steps with the exact commands if you prefer to do it yourself. Nothing downloads before you click.

A reason instead of a button — the device cannot run on this computer, for example an iOS simulator in a Project opened on Windows.

Connect or Start — everything is there.

What each kind needs on this computer:

Web browser — the browser build of its engine (Chromium, Firefox or WebKit), downloaded once and shared by every Project.

This computer's desktop — AgentOS.

Android phone — adb, from Google's Android platform-tools, see Android phone.

Android emulator — the platform-tools and the Android SDK, see Android emulator.

iOS simulator — Xcode and idb_companion, on a Mac, see iOS simulator.

The same setups have their own rows under Settings → This machine, one card per kind of device: Web, Computer, Android and iOS Simulators. Set up there installs the same thing the device row does, and a setup started in one place shows its progress in the other. Remove appears only for what AskUI Desktop installed itself; a tool you installed yourself is never removed.

Android devices (discovery)

The Android devices section lists what adb sees: USB-connected phones (USB debugging enabled) and already-running emulators. Add as profile turns a discovered device into a regular profile, see Android phone. For a wireless device, enter its ip:port and click Connect wireless. Without adb the list stays empty; the Add-device dialog's An Android device entry says so, and Settings → This machine → Android installs it.

How a test picks its device

The test names its target ("Run this on the Windows Desktop device"); the Run on picker confirms it. Pick a different connected profile to run the same test on another environment.

It uses your mouse and keyboard

A desktop run on this machine is a real user session: the agent moves the pointer, types, and needs the application in the foreground. Don't work on the machine during a run, use a browser, emulator, or remote profile to keep working.

Where profiles live

devices.json in the project, including each profile's Prompt text (and, for a Multi computer or Cross-platform profile, each member's). Colleagues get the same device list and only connect. See How a Project is organized.

On this page