Run on a device cloud
Expert190 pts~70 min
- Device clouds
- Configuration
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
Make the session configurable for a device cloud without hardcoding credentials, and keep it runnable locally.
Your task
- 1Read the hub URL, username and access key from environment variables, falling back to http://127.0.0.1:4723.
- 2Add the vendor options block (bstack:options, sauce:options or lt:options) with build and session names.
- 3Log in as qa@target.dev / Test@123 via the accessibility ids "username", "password" and "login".
- 4Assert the inbox is displayed.
Acceptance criteria
- Configuration comes from the environment
- Vendor options are defined
- No hardcoded secrets
- The inbox is shown
- At least 1 assertion passes
Fixtures
- username
- qa@target.dev
- password
- Test@123
Appium 2 · Appium · Architecture & CI