Prerequisites
- Autosana MCP server added to your coding agent
- One local target:
- iOS Simulator: macOS with the Simulator booted
- Android Emulator: macOS, Linux, or Windows with the emulator booted
- Physical Android device: a connected device with USB debugging allowed
- Physical iPhone: macOS with Xcode and a wired, trusted, unlocked iPhone in Developer Mode
- Web: a local dev server running on any OS (e.g.
localhost:3000). HTTP and HTTPS dev servers are both supported — the scheme is auto-detected. Frameworks likenext dev --experimental-https,vite --https, and mkcert-based setups work out of the box.
Usage
Tell your coding agent (Cursor, Claude Code, etc.):Physical Device Local Testing
Use this when you need Autosana to control a real phone connected to your computer. Android devices use the same local testing path as Android Emulators. Physical iPhones need the stricter iPhone readiness checks below. Tell your coding agent:- Keep it plugged in, awake, unlocked, and on the app being tested
- For Android, allow USB debugging when prompted
- For iPhone, keep Developer Mode enabled and leave the Mac trusted
- For iPhone, use a longer Auto-Lock interval, or temporarily set Auto-Lock to Never while testing
- Do not lock an iPhone from iPhone Mirroring during a run
Multi-Device Parallel Testing
Run the same flow across multiple devices at the same time — different screen sizes, OS versions, or just faster coverage.How it works
- Boot your devices — open multiple iOS Simulators, Android Emulators, or both
- Tell your agent what to test:
- The Autosana CLI auto-detects all booted devices, starts a separate session for each (with its own tunnel and Appium server), and runs your flows simultaneously across all of them
- Results come back per-device — you see pass/fail for each device independently, with links to the run details on the dashboard
What gets auto-detected
- iOS: All booted Simulators (via
xcrun simctl) - Android: All connected emulators and devices (via
adb)
Example use cases
- Screen size coverage: Run the same flow on iPhone SE, iPhone 16 Pro, and iPad to verify layouts across screen sizes
- OS version testing: Boot simulators on iOS 17 and iOS 18 to catch version-specific bugs
- Cross-platform: Test on both an iOS Simulator and Android Emulator in a single run