Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
明日から始める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
860
ソフトウェア開発温故知新 古典で紐解く、ソフトウェア開発の課題 / Software_Development:Learning_from_the_Past
shimashima35
0
98
入り口から考えるソフトウェアテストエンジニアのキャリア / 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
920
組織横断部門におけるバグ数可視化の全社導入の事例/Example_of_company-wide_bug_number_visualization in_cross-organizational_departments
shimashima35
1
420
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
自分で立ててみるLLMサービス
y_sera15
0
160
⾮構造化データを価値に変える AI エージェント基盤とその組織
ivry_presentationmaterials
0
140
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
5.8k
実践!Cloud Run ハンズオン!! / Cloud Run handson
y0hgi
0
240
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
270
今さら理解するウェブフォントver.2026
takanorip
3
680
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
570
More Freedom on the Same Shared GPU Cluster: A Small Team’s Experience with vCluster
nttcom
0
160
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.7k
Cognition AI Japan - ウェビナー2_テストQA_運用監視
cogakira
0
140
freeeらしさをAIとともに作る / Creating the freee Experience with AI
ymrl
0
230
Featured
See All Featured
The agentic SEO stack - context over prompts
schlessera
0
970
Music & Morning Musume
bryan
48
7.4k
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
620
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Documentation Writing (for coders)
carmenintech
77
5.6k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Ethics towards AI in product and experience design
skipperchong
2
420
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
We Have a Design System, Now What?
morganepeng
55
8.4k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
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自動テスト固有の問題は軽減されないので、本格導入時はきちんと検討 を。
ご清聴ありがとうござい ました