• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Selenium in the enterprise   what went right and what went wrong so far - selenium conf 2012 london
 

Selenium in the enterprise what went right and what went wrong so far - selenium conf 2012 london

on

  • 3,083 views

In 2006 a friend turned me on to a new test harness called Selenium. The framework had little documentation and ran inside a weird, janky frameset. But Selenium had two killer features: you didn’t ...

In 2006 a friend turned me on to a new test harness called Selenium. The framework had little documentation and ran inside a weird, janky frameset. But Selenium had two killer features: you didn’t need Windows administrator privileges to install it and it was the only free GUI-driven regression testing framework for Web sites. Five years later I find myself in the position of having used Selenium in a business context for almost half my career and nearly the entire lifetime of the tool. Selenium’s changed a lot, so have the Web sites it was designed to test, and so has the Web itself. I look forward to talking about how I have helped businesses leverage Selenium to manage change and increase their ability to adapt in the ever-evolving world of eCommerce.

Statistics

Views

Total Views
3,083
Views on SlideShare
3,069
Embed Views
14

Actions

Likes
2
Downloads
23
Comments
0

6 Embeds 14

http://www.linkedin.com 4
http://elearning.tadelformacion.com 3
http://www.scoop.it 3
http://bitly.com 2
http://coderwall.com 1
http://www.slashdocs.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike LicenseCC Attribution-NonCommercial-ShareAlike License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Selenium in the enterprise   what went right and what went wrong so far - selenium conf 2012 london Selenium in the enterprise what went right and what went wrong so far - selenium conf 2012 london Presentation Transcript

    • Selenium in the EnterpriseWhat went right, what went wrong (so far) Noah Sussman Selenium Conf 2012, London #SEConf • @noahsussman
    • Our mission is to empower people to change the waythe global economy works. We see a world in whichvery-very small businesses have much-much moresway in shaping the economy, local living economiesare thriving everywhere, and people value authorshipand provenance as much as price and convenience.We are bringing heart to commerce and making theworld more fair, more sustainable, and more fun.
    • Chad Dickerson Describes the History of Etsy
    • The story of how I became a Web hackerbegins with Willoughby Sharp. Pamela Seymour Smith
    • 1999
    • Clicking all these links is a waste of my time and it hurtsmy wrist. There has got to be some way to tell thecomputer to click everything, without my having tomove the mouse.
    • 2000
    • In 2006, Ben Strawbridge introduced me to Selenium.
    • 2006
    • Selenium Core was nothing but JavaScript and Markup
    • If you have to choose between perfecting it and shipping it... Kellan Elliott-McCrea
    • And then the Web exploded. Randall Munroe
    • In 2007, I led my first large enterprise Web project.UI team geographically separated from services team.UI development began months in advance of services.
    • INTEGRATION HELL
    • We decoupled the UI from the services layer.We ensured all the HTML was valid.We treated the DOM structure as a contract.
    • UI AS CONTRACT
    • A frameset wrapped in a proxy server wrapped in an enigma.Hacking Selenium requires some serious programming chops.
    • In 2008 I worked on a green field project.The UI was constantly in flux. I couldn’t keep up.So I wrote a Perl script that sniffed for invalid response codes.To my surprise, the script caught a lot of bugs.It was the simplest thing that could possibly work.
    • Detectable errors tend not to be subtle.
    • In 2009 I worked on several large enterprise projects.
    • Hundreds of tests in HTML filesTook all day to run by handEnormous maintenance costNo automationNo visibility
    • Various attempts were made to convert manual QAsteps into automated tests.Attempts were made to test deep and subtle aspects ofthe application.
    • In the end, I wrote a few small tests for the critical path.It was the simplest thing that could possibly work.
    • “What did it just do?”“Why does it say Element Not Found?”“Isn’t this going to fail next time we update the UI?”
    • iOS Functional Testing in 2009.Automation frameworks barely existed.All I could provide were crash tests.The crash tests were very helpful to the QA team.It was the simplest thing that could possibly work.
    • A Brief History of the Etsy CI SystemLots of functional tests, some unit tests.Expensive, slow fixtures.Written in Python but the stack is PHP.
    • The Etsy CI System TodayFunctional tests mostly replaced with Nagios + StatsD.Remaining functional tests rewritten in Behat + Mink.We made it really easy to write unit tests.
    • We can rapidly detect and fix problems in production.
    • Every Etsy admin gets to help with testing and debugging.
    • Maintaining a large functional test suite is hard.Interpreting the results of functional tests is an art.Often a simple solution is all you need.
    • Being able to move fast is more important thanbeing able to prove you are safe from failure.Failure is inevitable. Recovery is what matters.
    • First, do the simplest thing that can possibly work.That’s probably all you need.
    • etsy.com/careers @noahsussman Mashable Cubicle Spy