Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Selenium再入門
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yu Watanabe
July 19, 2017
Technology
83
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Selenium再入門
W3C勧告とページオブジェクトパターンと私
Yu Watanabe
July 19, 2017
More Decks by Yu Watanabe
See All by Yu Watanabe
JUnitテストをCI環境で並列で実行する方法とその速度, スケーラビリティ
nabedge
6
3k
クラウド時代だからSpring-Retryフレームワーク
nabedge
0
340
ツール比較しながら語るO/RマッパーとDBマイグレーション
nabedge
0
190
JavaでWebサービスを作り続けるための戦略と戦術
nabedge
0
120
サーバーサイドな人がフロントエンド技術と仲良くするはじめの一歩
nabedge
0
90
Webエンジニアがスタートダッシュをキメるためのローカル開発環境の勘所
nabedge
0
97
テストゼロからイチに進むための戦略と戦術
nabedge
0
110
jOOQってなんて読むの?から始めるSpringBootとO/Rマッパーの世界
nabedge
0
180
あなたのプロジェクトが気軽にJavaをバージョンアップするために必要なこと
nabedge
0
80
Other Decks in Technology
See All in Technology
What Is JetBrains Air
x5gtrn
PRO
0
140
OptunaHub: ブラックボックス最適化のためのプラットフォーム
pfn
PRO
0
150
古い指輪から広がった JAVA コミュニティ とのつながり
yamad
0
140
AI時代のGraphQL
joere
2
330
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
140
Optunaの最新リリースv5.0について
pfn
PRO
0
130
Codex を使った障害対応机上演習の実際
orgachem
PRO
0
260
LLM-as-a-Judgeは本当に信頼できるのか――評価器を評価する話
taka_aki
3
1k
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
210
freeeにおけるSoftware Factory
freee
PRO
0
270
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
140
野蛮なアジャイル [サイボウズ発!]組織の常識を覆した反骨のスクラム実践記 / Barbaric Agile - Enterprise Agile Study Group
ama_ch
0
120
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Building Better People: How to give real-time feedback that sticks.
wjessup
371
20k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Git: the NoSQL Database
bkeepers
PRO
433
67k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
440
Making the Leap to Tech Lead
cromwellryan
135
10k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
A Modern Web Designer's Workflow
chriscoyier
699
190k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Transcript
Selenium再入門 W3C勧告とページオブジェクトパターンと私 Webエンジニア勉強会#2 at 神田 2017-07-22 Sat @nabedge
Who ? • わたなべ • (株)ビズリーチ • twitter: @nabedge •
github: nabedge • http://www.slideshare.net/nabedg e/presentations
アンケート:主な言語は? • Java • C#, .NET系 • Ruby, PHP •
JavaScript (Node.js的な)
アンケート:Selenium歴は? 1. いまも仕事で使ってる 2. 仕事で使おうとしたけどあきらめた 3. Hello World程度なら書いて動かしたことがある 4. 「セレニウム」っていう発音でいいんだと思って
ホッとしている。
None
None
おわび • ヘッドレスChromeの話もする、 とconnpass.comに書きましたが、 あれは嘘だ。申し訳ありません。
とりあえずデモをご覧ください
これ、わかりますよね? document.getElmementById(“foo”) document.getElementsByTagName(“div”)
2004年ごろのSelenium
None
Selenium1.x • 実行エンジンはJS • テストコマンドはtable,tr,tdタグの中に書く ◦ コマンドをJSとしてeval()しながら実行 • テスト対象のアプリケーションに同梱して起動 •
ブラウザでアクセスして実行frameのボタンを操作
セキュリティのジレンマ • JSのクロスドメイン問題 • frameタグなんてもうオワコンだよね • (このあたりでWebDriver登場) • FireFox48事件
WebDriver
https://www.edureka.co/blog/selenium-tutorial
None
None
サンプルコード解説 https://github.com/nabedge/web-study-selenium
支援ツール • Selenide ◦ http://qiita.com/tatesuke/items/589e30ab9b3dc7037e26 • Fluentlenium ◦ http://fluentlenium.org/ •
Zalenium ◦ https://github.com/zalando/zalenium
QAを極めたいエンジニア募集! https://www.bizreach.co.jp/recruit/
渋谷でも勉強会やってます