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
230
Scalable and cloud-native mobile game CI/CD environment using Unity
tadashi0713
0
150
Migrating your mobile CI/CD environment to a scalable cloud solution using CircleCI
tadashi0713
0
240
Speed matters: Advanced CI/CD techniques to improve development velocity, quality & security
tadashi0713
0
310
AWS Graviton 環境への CI _ CD パイプラインを CircleCI で実現しよう (AWS Fargate 編)
tadashi0713
0
370
10x deployment frequency using GitLab Flow and GitHub Actions on AWS ECS
tadashi0713
0
620
デプロイ頻度を10倍にした、ブランチ戦略とGitHub Actions on AWS ECS
tadashi0713
8
4.5k
Creating parallelized Android UITest (Appium) environment using Azure, Docker and Android emulator
tadashi0713
0
4.2k
メルカリの開発スピードと品質を支える Selenium on Azure Kubernetes Service
tadashi0713
2
1.5k
Other Decks in Technology
See All in Technology
生成AI時代にこそ求められるSRE / SRE for Gen AI era
ymotongpoo
5
2.2k
M&A 後の統合をどう進めるか ─ ナレッジワーク × Poetics が実践した組織とシステムの融合
kworkdev
PRO
1
300
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
900
MySQLのJSON機能の活用術
ikomachi226
0
140
オープンウェイトのLLMリランカーを契約書で評価する / searchtechjp
sansan_randd
3
600
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
73k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
260
しろおびセキュリティへ ようこそ
log0417
0
270
Digitization部 紹介資料
sansan33
PRO
1
6.8k
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
2
790
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
8
2.2k
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
50
14k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
260
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
110
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
130
Un-Boring Meetings
codingconduct
0
200
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
エンジニアに許された特別な時間の終わり
watany
106
230k
The Curse of the Amulet
leimatthew05
1
8.1k
Odyssey Design
rkendrick25
PRO
1
480
First, design no harm
axbom
PRO
2
1.1k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
290
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による並列実行で解決 • プラットフォームによる特徴・制限を理解して、うまく 使いこなす必要がある • 課題もあるが、スケール・スピード・コストによるメリッ トは大きく、未来があるのでは