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
Jason Myers
January 21, 2013
Technology
1
110
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
43
Introduction to Pandas
jasonamyers
2
200
Generating Power with Yield
jasonamyers
1
180
Introduction to SQLAlchemy and Alembic
jasonamyers
4
1k
Data Networking for Developers
jasonamyers
0
130
Diabetes and Me
jasonamyers
0
60
Other Decks in Technology
See All in Technology
第13回 Data-Centric AI勉強会, 画像認識におけるData-centric AI
ksaito_osx
0
270
Amazon GuardDuty Malware Protection for Amazon S3のここがすごい!
ryder472
1
120
自動テストの世界に、この5年間で起きたこと
autifyhq
2
2.1k
プロセス改善による品質向上事例
tomasagi
0
430
A Hidden Pitfall of K8s DNS with Spring Webflux
musaprg
0
330
AIエージェントについてまとめてみた
pharma_x_tech
20
13k
20250130_『SUUMO』の裏側!第2弾 ~機械学習エンジニアリング編
recruitengineers
PRO
1
850
マルチデータプロダクト開発・運用に耐えるためのデータ組織・アーキテクチャの遷移
mtpooh
1
400
The 5 Obstacles to High-Performing Teams
mdalmijn
0
250
デザインから逆算して難易度を見積もるための観点
fumiyasac0921
0
120
What's New in OpenShift 4.18
redhatlivestreaming
0
1.2k
データ基盤の成長を加速させる:アイスタイルにおける挑戦と教訓
tsuda7
3
610
Featured
See All Featured
Producing Creativity
orderedlist
PRO
343
39k
The Cost Of JavaScript in 2023
addyosmani
47
7.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Designing for Performance
lara
604
68k
Optimizing for Happiness
mojombo
376
70k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
The Invisible Side of Design
smashingmag
299
50k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
Making Projects Easy
brettharned
116
6k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
29
4.6k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
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