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
明日から始めるSelenideによるブラウザテスト / Browser_test_by_sel...
Search
SHIMANE, Yoshikazu
December 18, 2016
Technology
2.8k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
明日から始めるSelenideによるブラウザテスト / Browser_test_by_selenide_to_start_from_tomorrow.
SHIMANE, Yoshikazu
December 18, 2016
More Decks by SHIMANE, Yoshikazu
See All by SHIMANE, Yoshikazu
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
1
590
ソフトウェア開発温故知新 古典で紐解く、ソフトウェア開発の課題 / Software_Development:Learning_from_the_Past
shimashima35
0
93
入り口から考えるソフトウェアテストエンジニアのキャリア / Thinking_About_a_Software_Test Engineer's_Career_from_the_Starting_Point
shimashima35
0
2k
テスト技法を使ったテストケースの表現方法/How to express test cases using test techniques
shimashima35
0
1.6k
VSTePのテスト観点出しで失敗した事例についての紹介/Failure case of test viewpoint derivation
shimashima35
0
900
組織横断部門におけるバグ数可視化の全社導入の事例/Example_of_company-wide_bug_number_visualization in_cross-organizational_departments
shimashima35
1
410
JaSST Tokyo実行委員のお仕事/Job of JaSST executive committee
shimashima35
0
1k
What is “Quality” ?
shimashima35
0
1.1k
品質"実質"無料キャンペーン始めます / Start_quality_real_free_campaign
shimashima35
2
5.9k
Other Decks in Technology
See All in Technology
VPCでもFloatingIPを使いたいんだ
y_kotani
1
140
書籍『生成AIの安全性入門』の入門
wataoka
0
150
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.5k
AI駆動開発を組織で促すために
lycorptech_jp
PRO
7
9.1k
[DroidKaigi 2026] Making UI specifications visible: Android UI development in the AI agent era supported by Compose Screenshot Testing and galleries
syarihu
0
330
少人数データチームのDevin活用実践事例
runandy16
2
130
本番に近いテストをもっと手軽に - Postmanで広がるAPIテストの世界 / Expanding the World of API Testing with Postman
yokawasa
1
200
Sony-DroidKaigi2026
sony
0
220
人気商品が「ちゃんと買える」をつくる ー ECの負荷改善
ykagano
1
180
AI駆動開発はどこまで来たのか? ファインディの最新実態調査で読み解く現在地 Devin Con Tokyo
akiratom
5
2.3k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3.2k
指示待ちから変化に応じるClaude Codeへ!~環境からAgentへの帰り道を作る~
gotalab555
9
1.8k
Featured
See All Featured
Between Models and Reality
mayunak
4
430
Testing 201, or: Great Expectations
jmmastey
46
8.3k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
180
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
260
Making the Leap to Tech Lead
cromwellryan
135
10k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
810
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
240
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
WCS-LA-2024
lcolladotor
0
820
Producing Creativity
orderedlist
PRO
348
41k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Transcript
明日から始めるSelenideによる ブラウザテスト 2016年12月18日 第4回 日本Seleniumユーザーコミュニティ勉強会 @shimashima35 http://srad.jp/~shimashima/
自己紹介 • @shimashima35 (http://srad.jp/~shimashima) • 島根 義和 • アカウンティング・サース・ジャパン株式会社 所属
• Java/Scalaエンジニア兼テストエンジニア (DevQA/SET) • JaSST Tokyo (http://www.jasst.jp/) 実行委員
ちょっと宣伝 2017/02/03 ~ 04 JaSST ‘17 Tokyo が開 催されます。 「テストと人工知能」:伊藤さん登壇
「Automation Test.SSF Beta」:自動テスト スキル標準
今日話すこと • Selenideを使ったブラウザテスト入門 • 本当のさわりだけ • まずはプログラムでブラウザを簡単に操作できることを知ってほしい。
今日はなさないこと • Selenideの詳しい使い方 • ブラウザテストの面倒くさいこと ◦ 手元で動くけれどCIサーバで動かない ◦ タイミングの問題 •
JenkinsなどのCI連携 • Selenium Gridなどによる並列実行
質問 1. Selenium WebDriverを使っている人 2. Selenideを知っている人 3. Selenideを使っている人
Selenideとは その1 • Selenium WebDriverのラッパー • WebDriverを使いやすくしたもの。 • JavaだけどDSL風にテストを記述できる。 •
テスト記述に注力できる。
Selenideとは その2 サンプル (公式サイト http://selenide.org/quick-start.html )から抜粋
デモ
ポイント • ブラウザの開発者ツールで目的要素取得のあたりをつける。 • IDEでSelenideを起動したのち、デバッグで止めて評価式で検証する。 • 使えるメソッドなどで困ったらIDEのサジェスチョンを利用する。 • 地道な作業です。
まとめ • Selenideを使うことで、簡単にブラウザ操作の自動化が行えます。 • 導入コストは低いので、まず試してみてください。 • テスト以外でも便利に使えます。 • E2E自動テスト固有の問題は軽減されないので、本格導入時はきちんと検討 を。
ご清聴ありがとうござい ました