Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
iOS UI Testing Techniques on LINE MAN App
Search
LINE Developers Thailand
September 13, 2020
Technology
0
270
iOS UI Testing Techniques on LINE MAN App
LINE Developers Thailand
September 13, 2020
Tweet
Share
More Decks by LINE Developers Thailand
See All by LINE Developers Thailand
Welcome & Tech Vision Keynote
linedevth
0
120
Building the Future: LINE API Updates in 2024
linedevth
0
100
Revolutionizing Telepharmacy with The POWER of Gen AI and LINE API
linedevth
0
130
Seamless Inventory Management with ChatGPT and LINE SHOPPING API
linedevth
0
70
The Future of LINE Retail Chatbot using Gemini AI
linedevth
0
180
Domain Data Platform for Scalable Data Management
linedevth
0
61
Building a Fortune Teller App with OpenAI From Chatbot to Voice Assistant
linedevth
0
58
B.A.A.S - BeTask AI and Automation for SMEs
linedevth
0
55
Boosting Development Quality through Continuous Documentation Integration
linedevth
0
74
Other Decks in Technology
See All in Technology
OpenShift Virtualizationのネットワーク構成を真剣に考えてみた/OpenShift Virtualization's Network Configuration
tnk4on
0
130
How to be an AWS Community Builder | 君もAWS Community Builderになろう!〜2024 冬 CB募集直前対策編?!〜
coosuke
PRO
2
2.8k
podman_update_2024-12
orimanabu
1
260
バクラクのドキュメント解析技術と実データにおける課題 / layerx-ccc-winter-2024
shimacos
2
1k
生成AIのガバナンスの全体像と現実解
fnifni
1
180
LINE Developersプロダクト(LIFF/LINE Login)におけるフロントエンド開発
lycorptech_jp
PRO
0
120
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
TSKaigi 2024 の登壇から広がったコミュニティ活動について
tsukuha
0
160
KnowledgeBaseDocuments APIでベクトルインデックス管理を自動化する
iidaxs
1
260
.NET 9 のパフォーマンス改善
nenonaninu
0
580
2024年にチャレンジしたことを振り返るぞ
mitchan
0
130
プロダクト開発を加速させるためのQA文化の築き方 / How to build QA culture to accelerate product development
mii3king
1
260
Featured
See All Featured
Gamification - CAS2011
davidbonilla
80
5.1k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.2k
Done Done
chrislema
181
16k
Writing Fast Ruby
sferik
628
61k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
GraphQLとの向き合い方2022年版
quramy
44
13k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
The Invisible Side of Design
smashingmag
298
50k
How GitHub (no longer) Works
holman
311
140k
Code Reviewing Like a Champion
maltzj
520
39k
Why Our Code Smells
bkeepers
PRO
335
57k
Transcript
14:55 - 15:30 Akadet Mathurapoj Ungsumalynn Punnyarphattreephop iOS UI Testing
Techniques on LINE MAN App QA Autumation, LINE MAN Wongnai iOS Engineer, LINE MAN Wongnai
iOS UI Testing Techniques on LINE MAN App
• iOS UI Automation Testing on LINE MAN App •
How to make your test automation more stable • How to navigate to specific page • Snapshot test Agenda
@LINEMAN Previously iOS UI Testing
Assertion Action Setup UI Prepare testing data API to prepare
data From server From third party iOS UI Testing
Assertion Action Setup UI Prepare testing data Login Logout Launch
app etc. iOS UI Testing
Assertion Action Setup UI Prepare testing data Click Long Click
Double Click Scroll Swipe Etc. iOS UI Testing
Assertion Action Setup UI Prepare testing data isDisplayed Compare text
isClickable isSelected Etc. iOS UI Testing
Check Restaurant Name Test cases Validate Restaurant Details Page (Check
Restaurant Name and Image) Check Restaurant Image Example Test Scenario
Login Restaurant Home Food Logout
Login Restaurant Home Food Logout
Login Restaurant Home Food Logout
Login Restaurant Home Food Logout Restaurant
DisplayedName Login Restaurant Home Food Logout
Login Restaurant Logout Home Food Server Validate Restaurant Details Page
(Check Restaurant Name and Image)
Known Issues
Take Long Time
Login Restaurant Logout Home Food Validate Restaurant Details Page (Check
Restaurant Name and Image)
Login Restaurant Logout Home Food Validate Restaurant Details Page (Check
Restaurant Name and Image) Server
Login Restaurant Logout Home Food Validate Restaurant Details Page (Check
Restaurant Name and Image) Server
None
Unstable
Checking Restaurant Name
Checked Restaurant Name
Checked Restaurant Name
None
Hard to Develop
Create Order Display Driver Accepted Order Page
Create Order Display Driver Accepted Order Page Get Available Driver
Update Driver Location Driver Accept Order
Maintenance
Create Order Display Driver Accepted Order Page Get Available Driver
Update Driver Location Driver Accept Order
Create Order Display Driver Accepted Order Page Get Available Driver
Update Driver Location Driver Accept Order API TEST
Create Order Display Driver Accepted Order Page Get Available Driver
Update Driver Location Driver Accept Order API TEST UI TEST
Create Order Display Driver Accepted Order Page Get Available Driver
Update Driver Location Driver Accept Order API TEST UI TEST Get Available Driver Update Driver Location Driver Accept Order API TEST We have already
Dependency
None
Maintenance Take Long Time Unstable Hard to develop Dependency Known
Issues
1. Mock Data
Mock Data
Login Restaurant Logout Home Food Server
UI Testing Redirect URL to Node-Red
UI Testing App LINE MAN Redirect URL to Node-Red
Login Restaurant Logout Home Food Node-RED
2. Bypass Login
Bypass Login
Restaurant Logout Home Food Node-RED -overrideToken Login Bypass Login
3. Deeplink
-Deeplink-Lineman://Restaurant-Detail 1 2 Deeplink
Restaurant Logout Home Food Node-RED -Deeplink-Lineman://Restaurant-Detail Login Launch App by
Deeplink
-Deeplink-Lineman://Restaurant-Detail?Restaurant-Type=Cloud-Kitchen 1 2 3 Deeplink With Query String
Restaurant-Type=Official Restaurant-Type=Cloud-Kitchen Deeplink With Query String
3 Tips Solutions
DEMO
Test Case
• Take Long Time • Unstable • Hard To Develop
• Maintenance • Dependency Problems
• Node-RED for Prepare Data Test • Bypass Login for
Skip Step Click Login • Deeplink for Navigate to Expectation Page Solutions
@LINEMAN SNAPSHOT TEST
Actual Image Compare Images Expect Image Keyword
Recorded Expect Image Recorded Actual Image
Recorded Expect Image Recorded Actual Image
Recorded Expect Image Recorded Actual Image
Recorded Expect Image Recorded Actual Image
Recorded Expect Image Recorded Actual Image
None
Compare Images
None
DEMO
“Enjoy Working”
None