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
90
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
38
Introduction to Pandas
jasonamyers
2
180
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
53
Other Decks in Technology
See All in Technology
Rustで「プリズモイダル法」を利用して「土量計算」をガチでやる
nokonoko1203
1
250
require(ESM)とECMAScript仕様
uhyo
4
940
Além do else! Categorizando Pokemóns com Pattern Matching no JavaScript
wmsbill
0
700
Cypress or Playwright?
rainerhahnekamp
0
160
web-application-security
matsuihidetoshi
1
190
IPUT App Dev. Co. -Overview 2024/4
iputapp
0
120
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
270
実例で紹介するRAG導入時の知見と精度向上の勘所
yamahiro
4
1.4k
Grafana x PagerDuty Better Together
jacopen
1
240
AWSに詳しくない人でも始められるコスト最適化ガイド
yuhta28
2
280
いつか使うかも貯金してたらめちゃめちゃ機能が増えてた話
riyaamemiya
0
590
Featured
See All Featured
Web development in the modern age
philhawksworth
203
10k
Unsuck your backbone
ammeep
663
57k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
21
1.9k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Designing for humans not robots
tammielis
248
25k
It's Worth the Effort
3n
180
27k
The Cult of Friendly URLs
andyhume
74
5.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
649
58k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
13
8.3k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
11
1k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
79
43k
The Mythical Team-Month
searls
216
42k
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