~/talk

Uncovering breaking changes behind UI on mobile applications

Talkat AppiumConf 2019 · 2019-06-13..06-15· [observability, testing]
slides:none on file

Mobile app analytics break when UI lifecycle changes (Android activities/fragments call onCreate/onResume differently) or when components get reused or rewritten (Objective‑C → Swift), producing duplicate or missing event logs. The solution captures HTTP/HTTPS requests through a local proxy launched before the app and drives tests with Appium + Ruby proxy, swaps endpoints at runtime by change endpoint via process args/intent args so no rebuild is needed, parses JSON bodies and captured JSON bodies and counted events to flag surprising deltas before release.

AI-written summary · about

  1. 0:00Intro
  2. 0:49Topics
  3. 1:36App: Long running app
  4. 3:01Situation: Collecting user flow
  5. 6:26User events, flow
  6. 6:49Events to track actions
  7. 7:25Detect the action
  8. 7:39Send the log to the server
  9. 9:35Android
  10. 9:57Lifecycle: Activity & Fragment
  11. 11:49Easy to mistake
  12. 12:26From App History?
  13. 16:22Change their implemented languages
  14. 17:25Prototype, Implement more
  15. 19:28Wrap up the issue behind UI
  16. 21:01HTTP proxy server
  17. 21:14How to capture the network?
  18. 24:05How to connect to the proxy server?
  19. 25:31Test Communication flow between the Appium client to servers
  20. 27:44Basic Appium flow
  21. 28:16Appium's test lifecycle
  22. 28:57Espresso/XCTest
  23. 32:06Test suite
  24. 33:40Summary
  25. 35:43Process arguments
  26. 37:36Packages, instrument args
  27. 41:19Takeaways
  28. 42:35Simulating push notification, launch via history
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.