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
Selenium再入門
Search
Yu Watanabe
July 19, 2017
Technology
0
15
Selenium再入門
W3C勧告とページオブジェクトパターンと私
Yu Watanabe
July 19, 2017
Tweet
Share
More Decks by Yu Watanabe
See All by Yu Watanabe
JUnitテストをCI環境で並列で実行する方法とその速度, スケーラビリティ
nabedge
4
1.5k
クラウド時代だからSpring-Retryフレームワーク
nabedge
0
24
ツール比較しながら語るO/RマッパーとDBマイグレーション
nabedge
0
32
JavaでWebサービスを作り続けるための戦略と戦術
nabedge
0
17
サーバーサイドな人がフロントエンド技術と仲良くするはじめの一歩
nabedge
0
17
Webエンジニアがスタートダッシュをキメるためのローカル開発環境の勘所
nabedge
0
16
テストゼロからイチに進むための戦略と戦術
nabedge
0
14
jOOQってなんて読むの?から始めるSpringBootとO/Rマッパーの世界
nabedge
0
21
あなたのプロジェクトが気軽にJavaをバージョンアップするために必要なこと
nabedge
0
9
Other Decks in Technology
See All in Technology
テストコードを書きながらCompose Multiplatformを乗りこなす
subroh0508
0
120
[2024년 5월 세미나] 생성형 AI와 함께하는 데이터 분석가 커리어
datarian
0
570
AWS Observability ベストプラクティス 大紹介
o11yfes2023
0
130
AWSやJAWS-UGとの出会いを振り返る
yoyoyopg
1
200
試作とデモンストレーション / Prototyping and Demonstrations
ks91
PRO
0
140
能動学習のいろは:書籍「Human-in-the-Loop機械学習」3〜5章
hiroyoshiito
0
280
PhpStorm超絶技巧40分集中講義 #phpconkagawa
yusuke
4
670
「知的単純作業」を自動化する、地に足の着いた大規模言語モデル (LLM) の活用
nrryuya
8
7.7k
QAエンジニアが伝えたい品質保証の羅針盤 / Compass for Quality Assurance
mii3king
1
310
Cloudflare WorkersがPythonに対応したので試してみた
miura55
0
170
自らを知り外と繋がる、日経のエンジニア採用とDevRel活動/devreljp92
nishiuma
2
210
Observabilityジャーニーを実現するためのAWSサービス:CloudWatch編
o11yfes2023
0
120
Featured
See All Featured
No one is an island. Learnings from fostering a developers community.
thoeni
16
2.1k
Making Projects Easy
brettharned
109
5.5k
Mobile First: as difficult as doing things right
swwweet
217
8.6k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
Designing for Performance
lara
601
67k
What's new in Ruby 2.0
geeforr
338
31k
Music & Morning Musume
bryan
41
5.6k
What's in a price? How to price your products and services
michaelherold
238
11k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
26
2.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.5k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
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/
渋谷でも勉強会やってます