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
UI Functional Testing
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Jason Myers
January 21, 2013
Technology
1
120
UI Functional Testing
UI Funcational Testing with Selenium and Python
Jason Myers
January 21, 2013
Tweet
Share
More Decks by Jason Myers
See All by Jason Myers
Building CLIs that Click
jasonamyers
0
48
Introduction to Pandas
jasonamyers
2
210
Generating Power with Yield
jasonamyers
1
180
Introduction to SQLAlchemy and Alembic
jasonamyers
4
1.1k
Data Networking for Developers
jasonamyers
0
140
Diabetes and Me
jasonamyers
0
75
Other Decks in Technology
See All in Technology
Visional 28新卒プロダクト職(エンジニア/デザイナー)向け 会社説明資料 / Visional Company Briefing for Newgrads 28
visional_engineering_and_design
1
130
ADK + Gemini Enterprise で 外部 API 連携エージェント作るなら OAuth の仕組みを理解しておこう
kaz1437
0
150
Phase01_AI座学_基礎
overflowinc
0
3.4k
ThetaOS - A Mythical Machine comes Alive
aslander
0
120
SLI/SLO 導入で 避けるべきこと3選
yagikota
0
140
スピンアウト講座03_CLAUDE-MDとSKILL-MD
overflowinc
0
1.1k
ソフトバンク流!プラットフォームエンジニアリング実現へのアプローチ
sbtechnight
1
250
Astro Islandsの 内部実装を 「日本で一番わかりやすく」 ざっくり解説!
knj
0
230
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
kaomi_wombat
0
230
スピンアウト講座04_ルーティン処理
overflowinc
0
1k
Tebiki Engineering Team Deck
tebiki
0
27k
めちゃくちゃ開発するQAエンジニアになって感じたメリットとこれからの課題感
ryuhei0000yamamoto
0
270
Featured
See All Featured
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
93
ラッコキーワード サービス紹介資料
rakko
1
2.7M
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.5k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
160
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.5k
Transcript
UI Functional Testing with Selenium and Python
None
Ready for Deployment Bro?
None
None
None
None
8BU
None
Selenium
Selenium IDE Web Driver Server Grid
Selenium IDE Web Driver Server Grid Firefox Plugin
Selenium IDE Web Driver Server Grid Firefox Plugin Javascript Based
Selenium IDE Web Driver Server Grid Firefox Plugin Javascript Based
DVR Style UI Testing
Selenium IDE Web Driver Server Grid Firefox Plugin Javascript Based
DVR Style UI Testing Simple!
Selenium IDE Web Driver Server Grid Firefox Plugin Javascript Based
DVR Style UI Testing Simplish...
Selenium IDE Web Driver Server Grid Live Demo Failure here!
Selenium IDE Web Driver Server Grid API
Selenium IDE Web Driver Server Grid API Available in many
languages
Selenium IDE Web Driver Server Grid API Available in many
languages Supports many browser
Selenium IDE Web Driver Server Grid API Available in many
languages Supports many browser More like traditional tests
Selenium IDE Web Driver Server Grid Live Demo Failure here!
ID driver.find_element_by_id("coolestWidgetEvah") <div id="coolestWidgetEvah">...</div>
ID XPath driver.find_elements_by_xpath("//input") <input type="text" name="example" />
ID Name XPath driver.find_element_by_name("cheese") <input name="cheese" type="text"/>
ID Name XPath CSS driver.find_element_by_css_selector("#food span.dairy.aged") <div id="food"> <span class="dairy
aged">cheese</span> </div>
ID Name XPath Text CSS driver.find_element_by_link_text("cheese") find_element_by_partial_link_text <a href="http://www.google.com/search? q=cheese">cheese</a>
None
None
element.submit()
inputElement.send_keys("Cheese!") element.submit()
inputElement.send_keys("Cheese!") element.submit() inputElement.click()
inputElement.send_keys("Cheese!") element.submit() inputElement.click() inputElement.select_by_visible_text()
Selenium IDE Web Driver Server Grid Live Demo Failure here!
None
Selenium IDE Web Driver Server Grid Java based
Selenium IDE Web Driver Server Grid Java based Used as
a proxy
Selenium IDE Web Driver Server Grid Java based Used as
a proxy A workaround to browser version needs
Selenium IDE Web Driver Server Grid Parallel Test Execution
Selenium IDE Web Driver Server Grid Parallel Test Execution Test
all the browsers
Selenium IDE Web Driver Server Grid Parallel Test Execution Test
all the browsers umm MS Azure
PageFactory and Page Objects Pattern
Selenium Resources http://seleniumhq.org/ http://selenium-python.readthedocs.org/en/latest/index.html https://github.com/jasonamyers/seleniumuitalk