Scroll to an element
Medium70 pts~25 min
- Scrolling
- UiScrollable
Practice app · Acme Mobile
A mobile app in a device frame. Elements expose data-accessibility-id (= aria-label) for AppiumBy.accessibilityId.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Scroll the inbox until an off-screen item is visible, then open it.
Your task
- 1Log in as qa@target.dev / Test@123 via the accessibility ids "username", "password" and "login".
- 2Tap "allow" on the notification permission dialog (#permission-dialog) — the app is blocked until you answer it.
- 3Scroll #list-container until item 18 (accessibility id "item-18") is on screen.
- 4Tap it and assert the detail title is "Item 18".
Acceptance criteria
- Item 18 is opened
- A scroll gesture or UiScrollable is used
- At least 1 assertion passes
Fixtures
- username
- qa@target.dev
- password
- Test@123
Appium 2 · Appium · Gestures & interactions