Back to directory

Cross App Tests with Uiautomator

Agent skill
1 skill

Use this skill to drive cross-app and system-UI flows from instrumentation tests using UiAutomator 2.3.0 — UiDevice, BySelector / UiObject2 (modern), UiSelector / UiObject (legacy), Until conditions, and Configurator global timeouts. Covers the singleton acquisition (UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())), pressBack/pressHome/pressRecentApps, device.findObject(By...) cached-node refresh and StaleObjectException recovery, the executeShellCommand @Discouraged path vs Context.startActivity plus , and the full By factory catalog. Use when the user reports StaleObjectException, Espresso InjectEventSecurityException, findObject returns null, asks "how do I open Settings from a test", "toggle Wi-Fi", "dismiss notification shade", or "test that spans my app and another".

Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI

Supported by the Atlas install prompt. Skill-specific requirements vary.

Skill stats

Skills1CategorySecurityStars0

About this skill

Use this skill to drive cross-app and system-UI flows from instrumentation tests using UiAutomator 2.3.0 — UiDevice, BySelector / UiObject2 (modern), UiSelector / UiObject (legacy), Until conditions, and Configurator global timeouts. Covers the singleton acquisition (UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())), pressBack/pressHome/pressRecentApps, device.findObject(By...) cached-node refresh and StaleObjectException recovery, the executeShellCommand @Discouraged path vs Context.startActivity plus , and the full By factory catalog. Use when the user reports StaleObjectException, Espresso InjectEventSecurityException, findObject returns null, asks "how do I open Settings from a test", "toggle Wi-Fi", "dismiss notification shade", or "test that spans my app and another".

Quick start

  1. Copy the install prompt. Use the green button above this README.
  2. Send it to your agent. Paste it into your coding agent’s chat and send.
  3. Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Review, license & listing details
Review the source before using this skill

This is an imported listing. We haven’t certified its safety, license, or compatibility. Skills may include executable scripts.

Automated security scan: Partial

Only SKILL.md was scanned. Supporting files and scripts were not checked. No safety grade has been assigned.

0 potential findings · Scanned 11/4/2026 · Scanner 0.2.1

Content SHA-256: 1f8dfeac5a9bd5cd040e8aece28cb1fbb6959b1b6ab3aab52d077b243dfdf192

About scan coverage and limitations

About this listing

Category
Security
Reported license
Apache-2.0
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.
Cross App Tests with Uiautomator | Agent Skills Atlas