TE

testing-mobile-apps

Facilitates automated mobile testing across various platforms including iOS and Android using standard frameworks.

Install

mkdir -p .claude/skills/testing-mobile-apps && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9364" && unzip -o skill.zip -d .claude/skills/testing-mobile-apps && rm skill.zip

Installs to .claude/skills/testing-mobile-apps

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Execute mobile app testing on iOS and Android devices/simulators.
65 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Configure test environment for mobile apps
  • Create test cases for core mobile interactions
  • Test platform-specific behaviors for iOS and Android
  • Implement device-specific test configurations
  • Run test suites and capture results

How it works

The skill outlines steps to configure a mobile testing environment, create test cases for various interactions and platform behaviors, and execute test suites on simulators or emulators.

Inputs & outputs

You give it
Application build artifact, test cases, and device configuration profiles
You get back
Mobile test files, device configuration profiles, screenshots, and test results in JUnit XML format

When to use testing-mobile-apps

  • Running iOS simulator tests
  • Validating Android emulator functionality
  • Testing cross-platform navigation flows
  • Executing UI interaction tests

About this skill

Mobile App Tester

Overview

Execute automated mobile application testing on iOS simulators and Android emulators covering UI interactions, navigation flows, gesture handling, and platform-specific behaviors. Supports Appium, Detox (React Native), XCUITest (iOS native), Espresso (Android native), and Maestro for cross-platform mobile testing.

Prerequisites

  • Mobile testing framework installed (Appium, Detox, Maestro, or native XCUITest/Espresso)
  • iOS Simulator via Xcode (macOS only) or Android Emulator via Android SDK
  • Application build artifact (.app, .apk, or .ipa) or bundled dev server (React Native)
  • Appium drivers installed (uiautomator2 for Android, xcuitest for iOS) if using Appium
  • Node.js for JavaScript-based test runners

Instructions

  1. Configure the test environment:
    • List target devices/simulators: specify OS versions, screen sizes, and orientations.
    • Build the application for testing (xcodebuild, ./gradlew assembleDebug, or npx react-native build).
    • Start the emulator/simulator or connect physical devices.
    • Install the app on the target device.
  2. Create test cases for core mobile interactions:
    • Tap and navigation: Tap buttons, navigate between screens, verify back navigation.
    • Text input: Fill forms, verify keyboard behavior, test autocomplete and paste.
    • Scrolling: Scroll lists, verify lazy loading, test pull-to-refresh.
    • Gestures: Swipe (carousel), pinch-to-zoom, long press, drag-and-drop.
    • System interactions: Handle permission dialogs, push notifications, deep links.
  3. Test platform-specific behaviors:
    • iOS: Safe area insets, notch handling, Dynamic Type, VoiceOver accessibility.
    • Android: Back button behavior, multi-window, different navigation patterns, TalkBack.
    • Both: Screen rotation (portrait/landscape), dark mode, low battery mode.
  4. Implement device-specific test configurations:
    • Define capability sets for each device/OS combination.
    • Use test tagging to run subsets on specific platforms (@ios, @android).
    • Configure screenshot capture on failure for visual debugging.
  5. Handle asynchronous mobile behaviors:
    • Wait for animations to complete before assertions.
    • Handle network loading spinners with explicit waits.
    • Account for system dialogs (permissions, updates) that interrupt test flow.
  6. Run the test suite and capture results:
    • Execute tests per platform: npx detox test --configuration ios.sim.debug.
    • Collect device logs, screenshots, and crash reports.
    • Generate JUnit XML or Allure reports for CI integration.
  7. Set up CI pipeline for mobile testing (GitHub Actions macOS runners for iOS, Linux for Android).

Output

  • Mobile test files organized by feature/flow in tests/mobile/ or e2e/
  • Device configuration profiles for each target device/OS combination
  • Screenshot captures for visual validation and failure debugging
  • Test results in JUnit XML format with device-specific metadata
  • CI pipeline configuration for automated mobile test execution

Error Handling

ErrorCauseSolution
Simulator/emulator fails to bootInsufficient disk space or corrupted simulator imageDelete derived data and reset simulator; increase disk allocation; recreate the emulator AVD
App crashes on launch during testMissing permissions or incompatible OS versionCheck minimum deployment target; grant required permissions in test setup; verify app signing
Element not foundElement ID changed or screen did not finish loadingUse accessibility IDs instead of XPath; add explicit waits; verify element visibility before interaction
Test flaky on CI but passes locallyCI runner has slower CPU/GPU affecting animations and timingIncrease wait timeouts for CI; disable animations in developer settings; use dedicated CI hardware
Permission dialog blocks testSystem alert appeared over the app UIAuto-dismiss alerts in test setup; pre-grant permissions via xcrun simctl or ADB commands

Examples

Detox test for React Native login flow:

describe('Login Flow', () => {
  beforeAll(async () => { await device.launchApp(); });
  beforeEach(async () => { await device.reloadReactNative(); });

  it('logs in with valid credentials', async () => {
    await element(by.id('email-input')).typeText('[email protected]');
    await element(by.id('password-input')).typeText('password123');
    await element(by.id('login-button')).tap();
    await expect(element(by.id('home-screen'))).toBeVisible();
  });
});

Maestro flow file:

appId: com.example.myapp
---
- launchApp
- tapOn: "Sign In"
- inputText:
    id: "email-input"
    text: "[email protected]"
- inputText:
    id: "password-input"
    text: "password123"
- tapOn: "Submit"
- assertVisible: "Welcome"

Resources

Prerequisites

Mobile testing framework installed (Appium, Detox, Maestro, or native XCUITest/Espresso)iOS Simulator via Xcode (macOS only) or Android Emulator via Android SDKApplication build artifact (`.app`, `.apk`, or `.ipa`) or bundled dev server (React Native)Appium drivers installed (`uiautomator2` for Android, `xcuitest` for iOS) if using Appium

Limitations

  • Requires iOS Simulator via Xcode (macOS only)
  • Requires Android Emulator via Android SDK
  • Requires Node.js for JavaScript-based test runners

How it compares

This skill provides a structured approach to mobile application testing, covering UI interactions, navigation, gestures, and platform specifics, unlike general software testing.

Compared to similar skills

testing-mobile-apps side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
testing-mobile-apps (this skill)827dReviewIntermediate
ios-simulator-skill272moReviewAdvanced
claude-mobile-ios-testing189moNo flagsIntermediate
build-iphone-apps148moReviewAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

More by jeremylongshore

View all by jeremylongshore

analyzing-logs

jeremylongshore

Analyze application logs to detect performance issues, identify error patterns, and improve stability by extracting key insights.

14123

ollama-setup

jeremylongshore

Configure auto-configure Ollama when user needs local LLM deployment, free AI alternatives, or wants to eliminate hosted API costs. Trigger phrases: "install ollama", "local AI", "free LLM", "self-hosted AI", "replace OpenAI", "no API costs". Use when appropriate context detected. Trigger with relevant phrases based on skill purpose.

1167

backtesting-trading-strategies

jeremylongshore

Backtest crypto and traditional trading strategies against historical data. Calculates performance metrics (Sharpe, Sortino, max drawdown), generates equity curves, and optimizes strategy parameters. Use when user wants to test a trading strategy, validate signals, or compare approaches. Trigger with phrases like "backtest strategy", "test trading strategy", "historical performance", "simulate trades", "optimize parameters", or "validate signals".

1071

generating-database-seed-data

jeremylongshore

Process this skill enables AI assistant to generate realistic test data and database seed scripts for development and testing environments. it uses faker libraries to create realistic data, maintains relational integrity, and allows configurable data volumes. u... Use when working with databases or data models. Trigger with phrases like 'database', 'query', or 'schema'.

1033

cursor-codebase-indexing

jeremylongshore

Execute set up and optimize Cursor codebase indexing. Triggers on "cursor index setup", "codebase indexing", "index codebase", "cursor semantic search". Use when working with cursor codebase indexing functionality. Trigger with phrases like "cursor codebase indexing", "cursor indexing", "cursor".

885

generating-trading-signals

jeremylongshore

Generate trading signals using technical indicators (RSI, MACD, Bollinger Bands, etc.). Combines multiple indicators into composite signals with confidence scores. Use when analyzing assets for trading opportunities or checking technical indicators. Trigger with phrases like "get trading signals", "check indicators", "analyze for entry", "scan for opportunities", "generate buy/sell signals", or "technical analysis".

725

Search skills

Search the agent skills registry