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
明日から始める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
310
ソフトウェア開発温故知新 古典で紐解く、ソフトウェア開発の課題 / Software_Development:Learning_from_the_Past
shimashima35
0
86
入り口から考えるソフトウェアテストエンジニアのキャリア / Thinking_About_a_Software_Test Engineer's_Career_from_the_Starting_Point
shimashima35
0
1.9k
テスト技法を使ったテストケースの表現方法/How to express test cases using test techniques
shimashima35
0
1.5k
VSTePのテスト観点出しで失敗した事例についての紹介/Failure case of test viewpoint derivation
shimashima35
0
860
組織横断部門におけるバグ数可視化の全社導入の事例/Example_of_company-wide_bug_number_visualization in_cross-organizational_departments
shimashima35
1
400
JaSST Tokyo実行委員のお仕事/Job of JaSST executive committee
shimashima35
0
960
What is “Quality” ?
shimashima35
0
1.1k
品質"実質"無料キャンペーン始めます / Start_quality_real_free_campaign
shimashima35
2
5.8k
Other Decks in Technology
See All in Technology
自称宇宙最速で不合格となったAIP-C01にリベンジを果たすべくAIで問題集アプリを作ってみた。
yama3133
0
250
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
2
190
ITエンジニアを取り巻く環境とキャリアパス / A career path for Japanese IT engineers
takatama
4
1.8k
NFLコンペ2026 解法
lycorptech_jp
PRO
0
130
GoとSIMDとWasmの今。
askua
1
120
Kaggle未経験社員をメダリストに育てる「AIドラゴン桜」
lycorptech_jp
PRO
0
680
PHP と TypeScript の型システム比較:AI 時代の「型」は誰のためにあるのか? #frontend_phpcon_do / frontend_phpcon_do_2026
shogogg
1
190
Anthropic AIネイティブ・スタートアップ構築のプレイブック を理解する
nagatsu
0
230
Generative UI × A2UI で AI エージェントを作った話 AI-DLC も使ってみた!
kmiya84377
1
290
React、まだ楽しくて草
uhyo
7
1.9k
テストコードのないプロジェクトにテストを根付かせる
tttol
1
240
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
190
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
370
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
370
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
RailsConf 2023
tenderlove
30
1.5k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
820
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
370
Done Done
chrislema
186
16k
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自動テスト固有の問題は軽減されないので、本格導入時はきちんと検討 を。
ご清聴ありがとうござい ました