adb_test_gen_from_ui
Analyze current screen to generate a test workflow that taps interactive elements, takes screenshots, and verifies app stability.
Instructions
Analyze the current screen and generate a test workflow that taps each interactive element, takes screenshots, and verifies the app doesn't crash. Produces a workflow JSON compatible with adb_workflow_run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packageName | Yes | Package name to monitor during test (used for logcat filtering and crash detection) | |
| device | No | Device serial | |
| screenshotAfterEach | No | Take a screenshot after each tap | |
| returnToStart | No | Press Back after each tap to return to the starting screen |