Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills Aโ€“Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Android Ui Verification

ASecurity

Automated end-to-end UI testing and verification on an Android Emulator using ADB.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
testinggoshellbashreacttestingdebuggingdocumentation

Works with

cli

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add ibragimov-oasis/oasis-languages-jp --skill android_ui_verification --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Ui Verification?

Add the live security badge to your README โ€” it updates automatically with every re-scan.

Security grade badge for Android Ui Verification
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/ibragimov-oasis-android-ui-verification-oasis-languages-jp/badge)](https://www.skillsdirectory.com/skills/ibragimov-oasis-android-ui-verification-oasis-languages-jp)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: android_ui_verification
description: Automated end-to-end UI testing and verification on an Android Emulator using ADB.
risk: safe
source: community
date_added: "2026-02-28"
tags:
  - domain/skills
  - artifact/skill
  - source/skills-antigravity
---

# Android UI Verification Skill

This skill provides a systematic approach to testing React Native applications on an Android emulator using ADB commands. It allows for autonomous interaction, state verification, and visual regression checking.

## When to Use
- Verifying UI changes in React Native or Native Android apps.
- Autonomous debugging of layout issues or interaction bugs.
- Ensuring feature functionality when manual testing is too slow.
- Capturing automated screenshots for PR documentation.

## ๐Ÿ›  Prerequisites
- Android Emulator running.
- `adb` installed and in PATH.
- Application in debug mode for logcat access.

## ๐Ÿš€ Workflow

### 1. Device Calibration
Before interacting, always verify the screen resolution to ensure tap coordinates are accurate.
```bash
adb shell wm size
```
*Note: Layouts are often scaled. Use the physical size returned as the base for coordinate calculations.*

### 2. UI Inspection (State Discovery)
Use the `uiautomator` dump to find the exact bounds of UI elements (buttons, inputs).
```bash
adb shell uiautomator dump /sdcard/view.xml && adb pull /sdcard/view.xml ./artifacts/view.xml
```
Search the `view.xml` for `text`, `content-desc`, or `resource-id`. The `bounds` attribute `[x1,y1][x2,y2]` defines the clickable area.

### 3. Interaction Commands
- **Tap**: `adb shell input tap <x> <y>` (Use the center of the element bounds).
- **Swipe**: `adb shell input swipe <x1> <y1> <x2> <y2> <duration_ms>` (Used for scrolling).
- **Text Input**: `adb shell input text "<message>"` (Note: Limited support for special characters).
- **Key Events**: `adb shell input keyevent <code_id>` (e.g., 66 for Enter).

### 4. Verification & Reporting
#### Visual Verification
Capture a screenshot after interaction to confirm UI changes.
```bash
adb shell screencap -p /sdcard/screen.png && adb pull /sdcard/screen.png ./artifacts/test_result.png
```

#### Analytical Verification
Monitor the JS console logs in real-time to detect errors or log successes.
```bash
adb logcat -d | grep "ReactNativeJS" | tail -n 20
```

#### Cleanup
Always store generated files in the `artifacts/` folder to satisfy project organization rules.

## ๐Ÿ’ก Best Practices
- **Wait for Animations**: Always add a short sleep (e.g., 1-2s) between interaction and verification.
- **Center Taps**: Calculate the arithmetic mean of `[x1,y1][x2,y2]` for the most reliable tap target.
- **Log Markers**: Use distinct log messages in the code (e.g., `โœ… Action Successful`) to make `grep` verification easy.
- **Fail Fast**: If a `uiautomator dump` fails or doesn't find the expected text, stop and troubleshoot rather than blind-tapping.

## ๐Ÿ”— ะกะฒัะทะธ

- [[MOC - Skills]] โ€” Skills library
- [[skills/skills-antigravity]] โ€” Category: skills-antigravity

Attribution

ibragimov-oasisibragimov-oasis
View sourceMore from ibragimov-oasis โ†’
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Screen Reader Testing

Practical guide to testing web applications with screen readers for comprehensive accessibility validation.

393431 votes

Python Testing

ไฝฟ็”จpytestใ€TDDๆ–นๆณ•ใ€ๅคนๅ…ทใ€ๆจกๆ‹Ÿใ€ๅ‚ๆ•ฐๅŒ–ๅ’Œ่ฆ†็›–็އ่ฆๆฑ‚็š„Pythonๆต‹่ฏ•็ญ–็•ฅใ€‚

2456590 votes

Tdd Workflow

ๅœจ็ผ–ๅ†™ๆ–ฐๅŠŸ่ƒฝใ€ไฟฎๅค้”™่ฏฏๆˆ–้‡ๆž„ไปฃ็ ๆ—ถไฝฟ็”จๆญคๆŠ€่ƒฝใ€‚ๅผบๅˆถๆ‰ง่กŒๆต‹่ฏ•้ฉฑๅŠจๅผ€ๅ‘๏ผŒๅŒ…ๅซๅ•ๅ…ƒๆต‹่ฏ•ใ€้›†ๆˆๆต‹่ฏ•ๅ’Œ็ซฏๅˆฐ็ซฏๆต‹่ฏ•๏ผŒ่ฆ†็›–็އ่ถ…่ฟ‡80%ใ€‚

2456590 votes

Springboot Tdd

ไฝฟ็”จJUnit 5ใ€Mockitoใ€MockMvcใ€Testcontainersๅ’ŒJaCoCo่ฟ›่กŒSpring Boot็š„ๆต‹่ฏ•้ฉฑๅŠจๅผ€ๅ‘ใ€‚้€‚็”จไบŽๆทปๅŠ ๅŠŸ่ƒฝใ€ไฟฎๅค้”™่ฏฏๆˆ–้‡ๆž„ๆ—ถใ€‚

2456590 votes

Eval Harness

ๅ…‹ๅŠณๅพทไปฃ็ ไผš่ฏ็š„ๆญฃๅผ่ฏ„ไผฐๆก†ๆžถ๏ผŒๅฎžๆ–ฝ่ฏ„ไผฐ้ฉฑๅŠจๅผ€ๅ‘๏ผˆEDD๏ผ‰ๅŽŸๅˆ™

2456590 votes
View all in testing โ†’