Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Automated User Interface Testing
Search
Tiago Martinho
May 01, 2018
Technology
71
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Automated User Interface Testing
Tiago Martinho
May 01, 2018
More Decks by Tiago Martinho
See All by Tiago Martinho
Time Managment
tiagomartinho
0
53
BuddyBuild
tiagomartinho
0
46
Daily Journal
tiagomartinho
0
61
Everyone can code
tiagomartinho
0
49
Introduction to Machine Learning
tiagomartinho
0
56
Silicon Valley Tour
tiagomartinho
1
80
Swift Peer Lab - try! Swift Tokyo
tiagomartinho
0
100
Francigenr
tiagomartinho
1
40
Artusi Learning
tiagomartinho
0
55
Other Decks in Technology
See All in Technology
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
120
生成AIと進める探索的データ分析(2026.10.03 第122回Tokyo.R勉強会)
tatamiya
1
870
サーバーフルコンピューティング?AWS Lambda
iwatatomoya
0
120
OSC2026on_the-world-is-waiting-for-your-voice.pdf
naruoga
0
220
形式手法を使って仕様をコーディングしよう
mikanichinose
0
160
DORA_Metrics.pdf
wagnerfusca
1
140
spanner-autoscalerに学ぶ CRD設計パターン 〜自動化と緊急時対応を両立する Kubernetesコントローラーの作り方〜
tkuchiki
0
220
2026-09-26 Platform Engineering Kaigi 2026 インフラとアプリの境界線と委譲の設計 / Drawing the Infra and App Line
masasuzu
0
560
大阪オフィスに Unitree Go2 がやってきたので Physical AI やってみた
dafujii
0
220
Swap and Memory Reclaim - Squeezing Out More RAM
ennael
PRO
1
1.5k
Claude Designがめちゃくちゃ便利なので使ってほしい
diggymo
0
190
メルカリにおけるAI時代の高速プロトタイピング基盤「Arca」
ryotarai
18
14k
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
470
Code Reviewing Like a Champion
maltzj
528
40k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.4k
Statistics for Hackers
jakevdp
799
230k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
550
RailsConf 2023
tenderlove
30
1.6k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
390
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
The SEO Collaboration Effect
kristinabergwall1
1
580
Transcript
Tiago Martinho @martinho_t tiagomartinho Automated User Interface Testing
None
+ User POV Black Box Testing Offload Testers
- Flaky Expensive Slow
Unit Integration UI
100x 10x x
None
Anti-Pattern
func testLogin() { application.launch() let loginButton = application.buttons["login"] loginButton.tap() wait(for:
“label") label = application.labels[“label”] assertEqual("42", label.text) }
Objectives Robust Easy to write Easy to read
AAA Arrange Act Assert
UI Driver Application Acceptance Test
UI Driver Application Model Acceptance Test
Acceptance Test No tap, click, swipe No UI references Clear
state and asserts
func testDeleteAllChannels() { model.enforce(state: .notEmptyChannelsList) model.deleteAllChannels() model.assert(condition: .emptyChannelsList) }
func testDeleteAllChannels() { model.enforce(state: .notEmptyChannelsList) model.deleteAllChannels() model.assert(condition: .emptyChannelsList) }
func testDeleteAllChannels() { model.enforce(state: .notEmptyChannelsList) model.deleteAllChannels() model.assert(state: .emptyChannelsList) }
UI Driver Application Model Acceptance Test
Application Model Represents our App Does not depend on the
UI testing Framework
None
None
None
UI Driver Application Model Acceptance Test
UI Driver Drives the UI Knows nothing about our app
Can be replaced
None
None
None
+ Knowledge Base Short and Robust Tests Framework Independent
Tiago Martinho @martinho_t tiagomartinho Thank you!