Appium 2

Tap an element

Easy30 pts~12 min
  • Tap
  • Navigation
Practice app · Acme Mobile

A mobile app in a device frame. Elements expose data-accessibility-id (= aria-label) for AppiumBy.accessibilityId.

Test URL
/lab/appium-tap-an-element

Your starter code already declares TEST_URL — never hardcode a host.

Objective

Tap an inbox item and verify the app navigated to its detail screen.

Your task

  1. 1Log in as qa@target.dev / Test@123 via the accessibility ids "username", "password" and "login".
  2. 2Tap "allow" on the notification permission dialog (#permission-dialog) — the app is blocked until you answer it.
  3. 3Tap item 6 (accessibility id "item-6").
  4. 4Assert the detail title is "Item 6".

Acceptance criteria

  • Item 6 is opened
  • At least 1 assertion passes

Fixtures

username
qa@target.dev
password
Test@123

Appium 2 · Appium · Gestures & interactions