Mobile Testing / Quiz

Capabilities: The Session Contract

Options classes, app vs appPackage/appActivity vs bundleId, the noReset/fullReset matrix, and the timeouts that kill sessions mid-think.

Difficulty
Medium
Format
Quiz
Points
150
Estimate
10 min

// MISSION BRIEF

Your Mission

Capabilities are the contract you sign before the session starts: which device, which app, how much state survives between tests. Sign it wrong and you get mystery logins, stale data, or a session that dies while you debug.

Seven questions on authoring caps deliberately. Speed bonus active.

// FIRST CONTACT

Battle teaser

Typed options classes (UiAutomator2Options, XCUITestOptions) beat raw dicts because:

  1. ARaw dicts are rejected by all servers since 2020
  2. BThey compress the session request for slow networks
  3. CThey are required for real devices only
  4. DThey emit correctly prefixed W3C capabilities and catch typos at authoring time; modern Appium clients (e.g. Python client 3+) expect options objects since desired_capabilities was removed
Answers, scoring, hints, and the full battle stay sealed.

// SKILL TAGS

appiumcapabilitiesnoresetmobile-testing