Test steps in MobileBoost can be either command-based or AI-powered. Command-based steps execute directly against the UI hierarchy for fast, deterministic results. AI instructions use natural language and are more flexible, handling complex or non-standard interactions. If a command-based step fails at runtime, the AI automatically takes over as a fallback.
Command-based steps
Command-based steps run directly without AI, resulting in faster execution and lower cost. AI is only used as a backup when unexpected elements appear, such as popups, notifications, UI changes, or missing element IDs.
Commands can be created manually or generated automatically using the test recorder.
WebView automation through commands currently has limited support. Use AI instructions for WebView interactions instead.
Gestures
Navigation
Assertions
Device actions
Network
Email
AI instructions
AI instructions use natural language to describe the action. They handle more complex scenarios and are the recommended approach for WebViews, visual assertions, and flows that are difficult to express as commands.