Mobile Testing / Quiz
Gestures Under the W3C Flag
TouchAction is dead; long live pointer actions. Swipes, long-presses, and pinches that survive across screen sizes, or fail on the first small phone.
- Difficulty
- Medium
- Format
- Quiz
- Points
- 150
- Estimate
- 9 min
// MISSION BRIEF
Your Mission
Appium 2 speaks W3C: gestures are sequences of pointer events, plus each driver's mobile: gesture shortcuts. The teams still shipping TouchAction code and hardcoded coordinates are the ones with the mysterious 'fails only on the cheap test phone' tickets.
Six questions. Speed bonus active.
// FIRST CONTACT
Battle teaser
Your old TouchAction swipe code fails after upgrading to Appium 2 with a modern client. Why?
- AAppium 2 supports gestures only on iOS
- BTouchAction/MultiAction were JSONWP-era APIs, deprecated and dropped from modern clients; W3C pointer actions (or mobile: gesture commands) replace them
- CTouchAction still works; the test device is just broken
- DSwiping now requires a rooted device
Answers, scoring, hints, and the full battle stay sealed.
// SKILL TAGS
appiumgesturesmobile-testingw3c-webdriver