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
120
1
Share
UI Functional Testing
UI Funcational Testing with Selenium and Python
Jason Myers
January 21, 2013
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
Oracle Cloud Infrastructure(OCI):Onboarding Session(はじめてのOCI/Oracle Supportご利⽤ガイド)
oracle4engineer
PRO
2
17k
システムは「動く」だけでは 足りない - 非機能要件・分散システム・トレードオフの基礎
nwiizo
1
380
Network Firewall Proxyで 自前プロキシを消し去ることができるのか
gusandayo
0
210
AWSで2番目にリリースされたサービスについてお話しします(諸説あります)
yama3133
0
130
ブラックボックス化したMLシステムのVertex AI移行 / mlops_community_62
visional_engineering_and_design
1
290
Cortex Codeでデータの仕事を全部Agenticにやりきろう!
gappy50
0
320
互換性のある(らしい)DBへの移行など考えるにあたってたいへんざっくり
sejima
PRO
0
560
「できない」のアウトプット 同人誌『精神を壊してからの』シリーズ出版を 通して得られたこと
comi190327
3
600
Strands Agents × Amazon Bedrock AgentCoreで パーソナルAIエージェントを作ろう
yokomachi
2
240
Data Enabling Team立ち上げました
sansantech
PRO
0
290
制約を設計する - 非決定性との境界線 / Designing constraints
soudai
PRO
6
2.3k
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
77k
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
170
Producing Creativity
orderedlist
PRO
348
40k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
140
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
210
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.4k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Everyday Curiosity
cassininazir
0
190
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