Reproducing Bugs¶
Use AutoMobile to systematically reproduce bugs and create reproducible test cases.
Example Prompt
We’re reproducing a bug report for the <app-name> <Android\iOS> app. When you encounter a defect or notice something off, highlight it, especially if it will help reproduce the bug. If reproduced take a device snapshot to make further reproduction and debugging easier.
The agent will:
- Attempt to find the relevant screen or behavior in the app
- Reproduce any steps or context provided to approximate the state.
- Draw visual highlights around defects or important elements.
- Take a snapshot of device state to be shared on other machines.
See demo: Bug reproduction
Demo: An AI agent reproducing a sample counter bug and highlighting the main issue.
Best Practices
- Include app state, user actions, expected vs actual behavior, stacktraces, any additional context.
- Document the environment by noting device, OS version, app version.