// B2B & DEVELOPER QA AUTOMATION
Real-Device iPhone QA Automation & Workflow Replay on Mac
iOS Simulators often fail to catch hardware-specific bugs, thermal throttling, biometric prompts, and camera flows. MirrorUE bridges the gap by letting QA and mobile engineering teams automate and replay user journeys directly on physical iPhones over USB.
The Real-Device Testing Workflow
βΊοΈ 1. Record User Journey
Perform taps, scrolls, text input, and screen transitions manually in the 120 FPS mirror feed. MirrorUE captures every event with millisecond timestamps.
π 2. Instant Replay & Tuning
Replay recorded sessions on any connected iPhone. Adjust playback speed (1x, 2x, 5x) or inject delays between steps to test race conditions.
π 3. Export JSON Macros
Export full test sessions as human-readable JSON files. Commit test suites to Git alongside your iOS codebase.
Programmatic CI/CD Automation via Local HTTP API
MirrorUE includes an embedded local HTTP server (http://127.0.0.1:8080) allowing CI test runners (GitHub Actions runners, Jenkins, or custom Python/Node scripts) to control physical devices headlessly:
# Trigger a tap at coordinates (x: 180, y: 320)
curl -X POST http://127.0.0.1:8090/v1/tap \
-H "Content-Type: application/json" \
-d '{"x": 180, "y": 320}'
# Type login credentials into active field
curl -X POST http://127.0.0.1:8090/v1/type \
-H "Content-Type: application/json" \
-d '{"text": "qa-engineer@mirrorue.xyz"}'
# Capture a pixel-perfect PNG screenshot for visual regression testing
curl -X GET http://127.0.0.1:8090/v1/screenshot --output regression_step_1.png
MirrorUE vs Appium & Device Farms
| Feature | MirrorUE | Appium / XCUITest | Cloud Device Farms |
|---|---|---|---|
| Setup Complexity | 1-Click macOS App | Complex WebDriverAgent signing | Heavy enterprise setup |
| Real-Time Frame Rate | β‘ 120 FPS Metal | 5 - 15 FPS (Screenshot polling) | 15 - 30 FPS (WebRTC stream) |
| Cost & Licensing | Free Core (Open Source) | Free (High maintenance cost) | $150 - $500 / device / month |
| Data Privacy | 100% Local (USB cable only) | Local | Third-party cloud infrastructure |
JSON Macro Replay Format
Saved macros use a transparent JSON schema that can be easily generated, edited, or parameterized in automated test pipelines:
{
"version": "1.0",
"deviceName": "iPhone 15 Pro",
"screenResolution": "1179x2556",
"events": [
{ "type": "touchDown", "x": 589, "y": 1420, "timeOffsetMs": 0 },
{ "type": "touchUp", "x": 589, "y": 1420, "timeOffsetMs": 120 },
{ "type": "typeText", "text": "test_order_#9021", "timeOffsetMs": 350 },
{ "type": "swipe", "fromX": 589, "fromY": 2100, "toX": 589, "toY": 800, "durationMs": 250, "timeOffsetMs": 800 }
]
}
Free & Open Source Β· Universal Binary for Apple Silicon & Intel Macs