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
250
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
670
Chat & Shop Like Never Before Unleash LINE SHOPPING API
linedevth
1
400
Develop Sales Automation Workflow on LINE
linedevth
0
350
Customer-Centricity Unleashed: Transforming Businesses with LINE Tech
linedevth
1
340
Digital Dining Journey with LINE at Bar B Q Plaza
linedevth
1
310
Elevate your video Broadcasts with Video viewing complete event
linedevth
0
190
LINE Official Notification from Zero to Hero
linedevth
1
310
LINEDEVCONF2022: Tech Vision Keynote
linedevth
1
260
The Power of LINE API in 2022
linedevth
1
250
Other Decks in Technology
See All in Technology
エンジニアリングマネージャーはどう学んでいくのか #devsumi / How Do Engineering Managers Continue to Learn and Grow?
expajp
4
1.3k
GoとアクターモデルでES+CQRSを実践! / proto_actor_es_cqrs
ytake
1
150
Git 研修 Advanced【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
200
コミュニティサービスに「あなたへ」フィードを リリースするまでの試行錯誤
takapy
1
150
データ分析基盤を作ってみよう~設計編~
nrinetcom
PRO
1
110
Scaling Technical Excellence at 104: Evolution in AWS and Developer Empowerment
scotthsieh825
1
150
テストケースの自動生成に生成AIの導入を試みた話と生成AIによる今後の期待
shift_evolve
0
180
20240725 LLMによるDXのビジョンと、今何からやるべきか @Azure OpenAI Service Dev Day
nrryuya
3
1.2k
たくさん本を読んだけど 1年後には綺麗サッパリ!を乗り越えて 学習の鬼になるぞ👹
yum3
0
160
Git 研修 Basic【MIXI 24新卒技術研修】
mixi_engineers
PRO
0
310
開発と事業を繋ぐ!SREのオブザーバビリティ戦略 ~ Developers Summit 2024 Summer ~
leveragestech
0
630
「我々はどこに向かっているのか」を問い続けるための仕組みづくり / Establishing a System for Continuous Inquiry about where we are
daitasu
0
170
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
35
4.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
34
1.9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
78
15k
Making Projects Easy
brettharned
111
5.7k
Designing the Hi-DPI Web
ddemaree
276
34k
Fireside Chat
paigeccino
25
2.8k
Building an army of robots
kneath
301
42k
Writing Fast Ruby
sferik
623
60k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
90
47k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.3k
A Tale of Four Properties
chriscoyier
155
22k
5 minutes of I Can Smell Your CMS
philhawksworth
200
19k
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