Android, HarmonyOS, iOS, Web and Desktop Automation Compared

Compare native tests, browser checks, system shortcuts and screenshot agents by what they can control and how to verify a result.

Start with the surface you need to control. A browser tool sees web content, a native test driver sees the application the platform exposes, and an iPhone shortcut runs the actions available to it. A screenshot model can help locate a visual target. It still needs an execution path and a way to check the result.

Two generic phones and a laptop with different screen layouts
Editorial illustration of device types used in the comparison.

Choose the surface first

TargetFirst optionHow to verify successBoundary to check
An Android app or Android Settings on a test deviceAndroid UI Automator or Appium UiAutomator2Assert a visible label, an enabled state or the next expected viewSDK/device authorization, accessibility nodes and native versus WebView context
A supported HarmonyOS deviceOpen-AutoGLM or Midscene through HDCConfirm HDC lists the device, then compare a task and a separate visual assertionCheck the exact device and OS build. The Android ADB and HarmonyOS HDC instructions have different prerequisites.
An iOS app in a controlled test environmentXCUITest through Xcode or Appium’s XCUITest driverRun on a supported simulator or device and assert a stable accessibility identifiermacOS/Xcode compatibility, signing and real-device requirements
A personal action supported by an iPhone appApple ShortcutsRun manually with sample data and inspect its output before choosing a triggerThe app must expose the action, and some automations require confirmation
A page in a supported browserPlaywrightUse an accessible role or label and assert a state on the pageBrowser emulation exercises web content; it does not run a native mobile app
A native Windows applicationPower Automate for desktop or a suitable desktop test driverCapture a UI element and check the resulting window or controlInteractive session, process rights and UI Automation support
A personal Mac workflowShortcuts for app-provided actionsRun the action with sample input and verify its outputAccess to the action and, for UI-based tools, the relevant macOS privacy settings
Native desktop capture or input on LinuxA desktop automation tool with documented support for your Linux sessionCheck image capture and input control separately with a scratch windowWayland backend and permissions granted for that session

Use the official requirements for Android UI Automator, Open-AutoGLM’s HDC setup, Appium drivers, Apple Shortcuts, Playwright locators and Power Automate desktop elements.

The current Open-AutoGLM source also lists an iOS adapter that expects a running WebDriverAgent. Treat it as a developer setup and verify that your installed revision exposes it. Shortcuts uses app actions, while XCUITest can assert the state of an app under test.

One feature, four different checks

Pick evidence by surface
  • Native mobile

    Look for a screen state or an assertion tied to the app under test.

  • Web

    Assert a named element after the same action at both viewport widths.

  • Desktop

    Verify capture and programmatic input separately in a scratch window.

Imagine a product that lets you filter a list of saved places. Make two sample entries on each platform. Your pass condition is that applying the filter shows one named entry and hides the other.

  1. Native app. Expose an accessibility identifier for the filter. Let a native test open the screen and assert the two entry states. Keep platform selectors in separate files and reuse the expected outcome.
  2. Mobile website. Use two browser viewports and a semantic locator. Run the same browser check at desktop and phone widths. This covers how the web page behaves at those sizes.
  3. Personal shortcut. Ask which action the app exposes. If it can return records through Shortcuts, filter those records and show a list. This demonstrates an action-based workflow. Add a native test if you need to verify the actual app UI.
  4. Desktop client. If it is a native Windows app, check the Windows UI element tree. If it is mainly a website, start with browser locators, then use a desktop tool for steps outside the webpage.

When a control is rendered only as pixels, a screenshot model may be a useful extra tool. Evaluate its coordinate output with an annotated screenshot before letting it interact with a device. Continue with a browser check you can run locally, an Android and iOS Appium preflight, a HarmonyOS HDC connection check, or the Windows, macOS and Linux permissions check.