Mozilla selenium and_hudson
Upcoming SlideShare
Loading in...5

Mozilla selenium and_hudson






Total Views
Views on SlideShare
Embed Views



1 Embed 25 25


Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment
  • - how does this fit with the "where we were" section?  before?  after?-  - aga
  • - is this the "where we were" or "where we are" slide? (I think the former, so make it clearer by adding a slide in front of it)
  • - please fix your spacing issues
  • - please capitalize "Python", as it's a proper noun - get rid of the extra spaces
  • - please capitalize "Python", as it's a proper noun - get rid of the extra spaces
  • - please capitalize "Python", as it's a proper noun - get rid of the extra spaces
  • - please capitalize "Python", as it's a proper noun - get rid of the extra spaces
  • - like to see a little more about where we want to be, but maybe the demo will help with that - the URL colors are hard to read - I'd still like to see another slide about our homepage and contact info ( mailing alias, too)

Mozilla selenium and_hudson Mozilla selenium and_hudson Presentation Transcript

  • Raymond Etornam Mozilla Corporation 05-19-2010 Mozilla, Selenium and Hudson CI: A Big, Open-Source Happy Family
    • Where we were
    • Where we are
    • Where we want to be
    • AMO:    http://addons.mozilla. org
    • SUMO: http://support
    We use Selenium on:
    •   Where we were
    • Browsers our projects currently support are:
    • Firefox 3.6.x, Firefox 3.5.x, Firefox 3.0.x
    • Internet Explorer 6 to  8
    • Opera  9 and 10.x
    • Chrome 4 & 5 (Beta for Mac)
    • Manually testing web pages across browsers and operating systems is a very hard, time-consuming task
    • Selenium IDE 
    • Works only on Firefox
    • Works best if you have a small amount of tests
    • Though faster than manual testing, it is not  as fast as using Selenium RC client driver
    • results.html is good, but limited
  •       We needed change
  •       This brings us to where we are
  • Selenium Grid + Hudson
    •   Our setup
    • Two Mac Minis running Windows XP, Vista, and Ubuntu VMs
    •   We have  the following remote controls running:
    • Chrome
    • Firefox 3.6
    • Firefox 3.5
    • Safari
    • IE 7 and IE 8
    • Tests are written in Python
    • Hudson polls our SVN repository every 5 minutes
    • Runs tests once there has been a check-in
    • Current setup for
    • all sorts of config options for
    • XPath locators
    • shared functions
    • list of smoketests w/params
    • T A couple huge problems:
    • Staging sites (like ours!) that use self-signed certificates are hard to automate across browsers with Selenium
    • Browser session problems
    • Lessons learned:
    • Write reusable code/classes
    • Run tests as often as you can
    • Proper use of XPath and CSS selectors make Selenium testing easier
    •   Where we want to be
    • Extend this model of testing to all web projects
    • Encourage contributors 
    • Have greater coverage for our Selenium integration tests
  •                 Demo / questions
    •        Interested in Helping?
    • WebQA homepage:
    • Contribute page:
    • SVN Repository:
    • te/app/tests/selenium/pythonTests
    • Real-time contact:
    • in #mozwebqa
  • [email_address] Thank you!