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
240
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
Dive Into The Cutting-edge LINE API Innovations
linedevth
2
650
Chat & Shop Like Never Before Unleash LINE SHOPPING API
linedevth
1
370
Develop Sales Automation Workflow on LINE
linedevth
0
330
Customer-Centricity Unleashed: Transforming Businesses with LINE Tech
linedevth
1
310
Digital Dining Journey with LINE at Bar B Q Plaza
linedevth
1
300
Elevate your video Broadcasts with Video viewing complete event
linedevth
0
180
LINE Official Notification from Zero to Hero
linedevth
1
260
LINEDEVCONF2022: Tech Vision Keynote
linedevth
1
250
The Power of LINE API in 2022
linedevth
1
240
Other Decks in Technology
See All in Technology
巨大なテーブルのテーブル定義を無停止で安全に誰でも変更できるようにする / Table-definitions-for-huge-tables-can-be-modified-by-anyone-safely-and-non-disruptively
freee
1
710
Pedestrian-Centric大規模交通安全映像解析向けWoven Traffic Safety (WTS) データセットの紹介
kbuster
0
140
Hands-on / Kaname Frusawa / Cloud Compare Users Meetup 2024 at University of Tokyo on April 17
paraworld
2
450
Databricksを活用してDELISH KITCHENのレシピレコメンドを開発した話
furu8
0
240
[PlatformCon 24] Platform Orchestrators: The Missing Middle of Internal Developer Platforms?
danielbryantuk
0
160
AWS を使う上で知っておきたいオンプレミス知識/aws-on-premise-essentials
emiki
1
4.1k
A (short) History of AI
harishpillay
0
100
コードを書く隙間を見つけて生きていく技術/Findy 思考の現在地
fujiwara3
21
4.1k
人間の尊厳、幸福、アクセシビリティ / 第116回「WEB TOUCH MEETING」アクセシビリティSP
nulabinc
PRO
2
160
スタートアップの技術顧問を3年間続けて発生した事と気付き
biwakonbu
0
150
日本におけるデータエンジニアリングのこれまでとこれから
foursue
8
1.4k
PHPカンファレンス小田原2024
ysknsid25
2
630
Featured
See All Featured
Faster Mobile Websites
deanohume
296
30k
A Philosophy of Restraint
colly
195
16k
Learning to Love Humans: Emotional Interface Design
aarron
266
39k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
185
16k
Producing Creativity
orderedlist
PRO
336
39k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.8k
Designing Experiences People Love
moore
135
23k
Product Roadmaps are Hard
iamctodd
43
9.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
35
2.5k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
272
12k
The Invisible Customer
myddelton
114
12k
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