1. Automated Web Application Testing
with Selenium and Bamboo
Atlassian Summit 2010
Cory von Wallenstein
VP, Product Management, Dyn Inc.
Up#me
is
the
Bo-om
Line.
Monday, June 14, 2010 1
2. • Dynect
Pla+orm
– Managed
enterprise
DNS
-‐
twi-er.com
-‐
zappos.com
Our
Online
-‐
cnbc.com
-‐
wikia.com
Business • DynDNS.com
– Home
and
small
business
-‐
DNS
-‐
Domains
-‐
Email
-‐
Security
Up#me
is
the
Bo-om
Line.
Monday, June 14, 2010 2
3. Technical
Side Business
Side
Makes the ship run Steers the ship
Speaks gibberish Easily excitable
Up#me
is
the
Bo-om
Line.
Monday, June 14, 2010 3
4. “A
customer
said
the
site
is
slow.
Can
you
make
it
faster?”
“Can
we
build
feature
X
by
tomorrow?”
“Thanks
for
pushing
feature
X,
but
now
A,
B,
C
and
D
are
broken!”
Up#me
is
the
Bo-om
Line.
Monday, June 14, 2010 4
5. “Speed,
cost
or
quality.
Pick
two.”
“It
works,
except
in
IE
6.”
“The
project
was
on-‐#me
un#l
everything
started
breaking
in
the
middle
of
the
night!”
Up#me
is
the
Bo-om
Line.
Monday, June 14, 2010 5
6. • DynDNS.com
– 12M
users
– 4M
logged
in
last
month
– New
code
twice
a
week
We
are
– Failure
is
not
an
op#on
bringing
sanity
• Web
app
tes<ng
is
hard
back. – Browsers,
– OSes,
and
– “the
tests
stopped
passing
because
somebody
moved
the
damn
bu-on!”
Up#me
is
the
Bo-om
Line.
Monday, June 14, 2010 6
7. • Selenium
– h-p://seleniumhq.org/
– Real
browsers,
real
OSes
Demo
of
– Object
oriented
tests
– Access
DOM
via
Xpath
Selenium
and
• Bamboo
Bamboo – h-p://atlassian.com/so^ware/bamboo/
– Cron
via
web
interface
– Test
result
correla#on
– History
of
bri-le
tests
Up#me
is
the
Bo-om
Line.
Monday, June 14, 2010 7
8. cvw@dyn.com • Ask
ques#ons
on
web
app
tes#ng
@cvonwallenstein
• Video
on
Selenium
and
how
we
h-p://dyn.com use
it
for
DynDNS.com
• Follow
us
on
Twi-er
@DynInc • We’re
a
hoot.
Up#me
is
the
Bo-om
Line.
Monday, June 14, 2010 8