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
0
490
ソフトウェア開発温故知新 古典で紐解く、ソフトウェア開発の課題 / 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.5k
VSTePのテスト観点出しで失敗した事例についての紹介/Failure case of test viewpoint derivation
shimashima35
0
890
組織横断部門におけるバグ数可視化の全社導入の事例/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
Genie Codeハンズオン応用編
taka_aki
0
130
私がブラウザを自作したくなった理由
supurazako
1
270
AI時代に、人は何を、どう学ぶのか #pbl_pub / What and How Do We Learn in the AI Era?
takaking22
1
150
AI開発に用いられるHPC技術について
gpuunite_official
0
150
【AG-UI × A2UI × MCP Apps】Generative UIをやさしく解説する
nrinetcom
PRO
1
150
My broken English still works: speaking at global OSS events
naruoga
0
120
Agent 時代の Kaggle 展望 / kaggle-in-the-agentic-era
upura
1
850
What's new in Go 1.27?
ciarana
0
280
【GCC2026】鉄拳8でのVFX開発事例
bandainamcostudios
PRO
0
120
コーチングの奥義 何もしないテクニック
jinwatanabe
0
130
国家プロジェクトを支える「さくらONE」 大規模LLM開発におけるGPU障害を乗り越えるクラスター運用戦略
gpuunite_official
0
120
強化学習「理論」入門
enakai00
3
3.6k
Featured
See All Featured
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
390
Java REST API Framework Comparison - PWX 2021
mraible
34
9.7k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
250
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
A Tale of Four Properties
chriscoyier
163
24k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
230
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
66
57k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
[SF Ruby Conf 2025] Rails X
palkan
2
1.3k
HDC tutorial
michielstock
2
790
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自動テスト固有の問題は軽減されないので、本格導入時はきちんと検討 を。
ご清聴ありがとうござい ました