Four Crucial
Tips for Web
Automation
Jim Holmes
jim@falafel.com
@AJimholmes
FrazzledDad.com
Slides:
frazzleddad.com
!
Samples:
github.com/JimHolmes/SE13
The Four
Tips
0) Learn
Your
Locators
1) Learn
When to
Avoid
Locators
2) Learn How
Async
Works in
Your System
3) Learn to
Handle Data
and
Configuration
Effectively
Automation
Best
Practices
There’s only
one:
There are
no best
practices!
Take today’s
concepts
Learn how to
apply in
!
YOUR
SYSTEMS!
0) Locators
What’s a
DOM?
Locator Types
IDs
CSS
Xpath
Other Attribs
1) Know
When to
AVOID
Locators
2) Handling
Async
Situations
Page load
lifecycle
Along came
AJAX
And Jquery
and backbone
and…..
Explicit waits
Simplify Your
Tests via
Setup &
Teardown
Test Oracles
System
Configuration
Learn the
concepts
Learn how to
apply in
!
YOUR
SYSTEMS
Jim Holmes
jim@falafel.com
@AJimholmes
FrazzledDad.com