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
Scaling Selenium to Infinity
Search
Tadashi Nemoto
November 14, 2018
Technology
0
2.1k
Scaling Selenium to Infinity
[人気につき増枠]AQA POP TALK #3 ~海外カンファレンスから見えたテスト自動化の未来~
https://mercaridev.connpass.com/event/104904/
Tadashi Nemoto
November 14, 2018
Tweet
Share
More Decks by Tadashi Nemoto
See All by Tadashi Nemoto
Best Practice CI/CD Pipeline for Deploying Container Apps to AWS
tadashi0713
0
190
Scalable and cloud-native mobile game CI/CD environment using Unity
tadashi0713
0
110
Migrating your mobile CI/CD environment to a scalable cloud solution using CircleCI
tadashi0713
0
220
Speed matters: Advanced CI/CD techniques to improve development velocity, quality & security
tadashi0713
0
280
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
330
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
560
デプロイ頻度を10倍にした、ブランチ戦略とGitHub Actions on AWS ECS
tadashi0713
8
4.3k
Creating parallelized Android UITest (Appium) environment using Azure, Docker and Android emulator
tadashi0713
0
4k
メルカリの開発スピードと品質を支える Selenium on Azure Kubernetes Service
tadashi0713
2
1.4k
Other Decks in Technology
See All in Technology
ソフトウェアテストのAI活用_ver1.20
fumisuke
0
170
CloudBruteによる外部からのS3バケットの探索・公開の発見について / 20250605 Kumiko Henmi
shift_evolve
3
300
GitHub Copilot Use Cases at ZOZO
horie1024
1
210
RDRA3.0を知ろう
kanzaki
3
450
NW運用の工夫と発明
recuraki
1
820
人とAIとの共創を夢見た2か月 #共創AIミートアップ / Co-Creation with Keito-chan
kondoyuko
1
740
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
7.2k
AIの電力問題を概観する
rmaruy
1
230
GigaViewerにおけるMackerel APM導入の裏側
7474
0
480
toittaにOpenTelemetryを導入した話 / Mackerel APM リリースパーティ
cohalz
1
500
AIとSREの未来 / AI and SRE
ymotongpoo
2
1.6k
組織とセキュリティ文化と、自分の一歩
maimyyym
3
1.3k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Art, The Web, and Tiny UX
lynnandtonic
298
21k
The World Runs on Bad Software
bkeepers
PRO
68
11k
Into the Great Unknown - MozCon
thekraken
39
1.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
Six Lessons from altMBA
skipperchong
28
3.8k
The Power of CSS Pseudo Elements
geoffreycrofte
76
5.8k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Producing Creativity
orderedlist
PRO
346
40k
Transcript
Scaling Selenium to Infinity
自己紹介 • 根本 征(Nemoto Tadashi) • Automation & QA (AQA)
Group • テスト自動化 • Selenium, Appium, XCUITest • モバイルCI / CD改善 • 社内の生産性を上げるための自動化・サポート • https://seleck.cc/1230
None
None
UIテストをはじめると起こる課題 • 不安定なテスト(freaky test) • UIの変更に伴う改修 • 調査コスト • 実行時間の増加(Unit
<<< UI)
None
blackboard / lambda-selenium
None
サーバーレスの特徴 • 課金形態 • スケールしやすい • サーバーの管理をしなくていい • Low maintainance
AWS Lambda 料金 実行した「時間」と「回数」
コストは同じ
サーバーの管理をしなくていい 制限された環境
サーバーレスの制限 • 利用できる言語 / バージョン • タイムアウト • デプロイサイズ
サーバーレスの制限 • 利用できる言語 / バージョン • タイムアウト • デプロイサイズ
Amazon S3から毎回ダウンロード XVFB
None
サーバーレスの制限 • 利用できる言語 / バージョン • タイムアウト • デプロイサイズ
None
None
How to scale tests?
None
None
None
http://allure.qatools.ru/
http://allure.qatools.ru/
None
Running tests faster will unmask rude tests
UIテストをはじめると起こる課題 • 不安定なテスト(freaky test) • UIの変更に伴う改修 • 調査コスト • 実行時間の増加(Unit
<<< UI)
Scaling is possible but you MUST follow best practices!
UIテストをはじめると起こる課題 • 不安定なテスト(freaky test) • UIの変更に伴う改修 • 調査コスト • 実行時間の増加(Unit
<<< UI)
課題も多い • 他ブラウザへの対応 • プラットフォームの制限 • サーバーレスの理解 / キャッチアップ •
実例も少なく現状ハードルは高い • 並列実行 VS テスト環境への負荷
未来 • スケール・スピード • コスト • サーバーレスの実行コスト • 環境メンテナンスコスト
まとめ • UIテストで起こりがちな実行時間の増加をAWS Lambdaによる並列実行で解決 • プラットフォームによる特徴・制限を理解して、うまく 使いこなす必要がある • 課題もあるが、スケール・スピード・コストによるメリッ トは大きく、未来があるのでは