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
0
2.6k
明日から始めるSelenideによるブラウザテスト / Browser_test_by_selenide_to_start_from_tomorrow.
SHIMANE, Yoshikazu
December 18, 2016
Tweet
Share
More Decks by SHIMANE, Yoshikazu
See All by SHIMANE, Yoshikazu
テスト技法を使ったテストケースの表現方法/How to express test cases using test techniques
shimashima35
0
1.2k
VSTePのテスト観点出しで失敗した事例についての紹介/Failure case of test viewpoint derivation
shimashima35
0
730
組織横断部門におけるバグ数可視化の全社導入の事例/Example_of_company-wide_bug_number_visualization in_cross-organizational_departments
shimashima35
1
370
JaSST Tokyo実行委員のお仕事/Job of JaSST executive committee
shimashima35
0
760
What is “Quality” ?
shimashima35
0
1k
品質"実質"無料キャンペーン始めます / Start_quality_real_free_campaign
shimashima35
2
5.6k
明日から始めるSelenideによるブラウザテスト 2018年版/ Browser_test_by_selenide_to_start_from_tomorrow_in_2018
shimashima35
1
870
SelenideよるDSL風E2Eテスト基盤開発の実例 in Osaka /Example_of_E2E_Automation_Test_Architecture_By_Selenide_in_Osaka
shimashima35
0
1.2k
SelenideよるDSL風E2Eテスト基盤開発の実例/Example_of_E2E_Automation_Test_Architecture_By_Selenide
shimashima35
0
1k
Other Decks in Technology
See All in Technology
Observability infrastructure behind the trillion-messages scale Kafka platform
lycorptech_jp
PRO
0
130
LinkX_GitHubを基点にした_AI時代のプロジェクトマネジメント.pdf
iotcomjpadmin
0
170
低レイヤを知りたいPHPerのためのCコンパイラ作成入門 完全版 / Building a C Compiler for PHPers Who Want to Dive into Low-Level Programming - Expanded
tomzoh
4
3.1k
Windows 11 で AWS Documentation MCP Server 接続実践/practical-aws-documentation-mcp-server-connection-on-windows-11
emiki
0
910
監視のこれまでとこれから/sakura monitoring seminar 2025
fujiwara3
11
3.8k
地図も、未来も、オープンに。 〜OSGeo.JPとFOSS4Gのご紹介〜
wata909
0
100
OpenHands🤲にContributeしてみた
kotauchisunsun
1
400
PHP開発者のためのSOLID原則再入門 #phpcon / PHP Conference Japan 2025
shogogg
4
650
JSX - 歴史を振り返り、⾯⽩がって、エモくなろう
pal4de
4
1.1k
より良いプロダクトの開発を目指して - 情報を中心としたプロダクト開発 #phpcon #phpcon2025
bengo4com
1
3.1k
第9回情シス転職ミートアップ_テックタッチ株式会社
forester3003
0
220
生成AIで小説を書くためにプロンプトの制約や原則について学ぶ / prompt-engineering-for-ai-fiction
nwiizo
3
760
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Into the Great Unknown - MozCon
thekraken
39
1.9k
How STYLIGHT went responsive
nonsquared
100
5.6k
Bash Introduction
62gerente
614
210k
VelocityConf: Rendering Performance Case Studies
addyosmani
330
24k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Being A Developer After 40
akosma
90
590k
Faster Mobile Websites
deanohume
307
31k
Music & Morning Musume
bryan
46
6.6k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
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自動テスト固有の問題は軽減されないので、本格導入時はきちんと検討 を。
ご清聴ありがとうござい ました