Perception → Decision → Action
On autonomous runs, the Yoqa agent operates from screenshots (not hand-written locators). On every step:- Perceive — capture a screenshot and analyze what is visible: buttons, text, images, current state.
- Decide — choose the next action toward the test goal (via your configured AI provider).
- Act — execute the gesture through Appium and observe the result.
Available actions
Actions work across the device — including system alerts and UI outside your app — subject to local device capabilities.
Script vs AI mode
After a passing AI run, you can save a script of the executed steps. Later runs can replay the script (faster, deterministic) or continue with full AI vision. Use AI when the UI is unstable; use scripts for stable smoke paths.Understanding instructions
Write at the goal level. Example: a long onboarding with many “Next” screens can be “Complete onboarding until the paywall” — the agent walks the screens itself.Speed
Cold steps typically take several seconds (screenshot + model + action). Similar screens on later runs can be faster. Exact latency depends on your provider and device.Limitations
- Timing — brief toasts or transitions may be missed between screenshots.
- Test length — keep cases under ~100 actions when possible; long flows lose context more easily.
- Local only (Phase 1) — no cloud farm yet; see Local testing.
- Provider quality — grounding and decide quality vary by model; pick vision-capable defaults.
Writing test cases
Instructions that the agent can follow
CLI for agents
When your coding agent drives each step