Selenium lightning-talk

Preview:

DESCRIPTION

My presentation at the Selenium Meetup's Lightning Talk, on August 23, 2011, covering Mozilla WebQA's "moz grid config":https://github.com/mozilla/moz-grid-config

Citation preview

Mozilla WebQA – Selenium Grid Config

Stephen DonnerWebQA Manager

San Francisco Selenium Meetup, Lightning Talks edition

August 23, 2011

Our problem

Became tiresome and problematic to manage 6 Mac Minis in our Selenium Grid farm, 3 of which have virtual machines

The near-solution

Dave Hunt's moz-grid-config:

https://github.com/mozilla/moz-grid-config

In a nutshell Firefox profiles

Grid hub / RC binaries

Ant build file

Grid configuration

Launcher scripts

Default project properties file

Machine-specific properties files

Firefox profiles

Profile / prefs.js settings-tweaks

Firefox profiles

Certificate overrides

Grid hub / RC binaries

/lib

/vendor

Ant build file

Grid configuration

Launcher scripts

launch-rc.battitle Selenium RC [%1] [%2]ant launch-remote-control -Drc.port=%1 -Drc.environment=%2

launch-rc.shecho -n -e "\033]0;Selenium RC [$1] [$2]\007"ant launch-remote-control -Drc.port=$1 -Drc.environment="$2

launchHub.shecho -n -e "\033]0;Selenium Grid\007"cd ~/moz-grid-config/ant launch-hub

Default project properties file

Machine-specific properties files

Mac Mini properties files

Virtual-machine instances' properties files

Adding a new environment

Add a [machine-name/IP].project.properties, containing a reference to itself

git checkout master

git pull

...and that's it

Support for 2.0?

We're on it:

https://github.com/mozilla/moz-grid-config/tree/selenium-grid-2.4

Thanks! Questions?

stephend@mozilla.com

Or, better yet: mozwebqa@mozilla.org

Links / Contact Info

Repo: https://github.com/mozilla/moz-grid-config

Mozilla QA “QMO” homepage: http://quality.mozilla.org

Mozilla WebQA homepage: https://wiki.mozilla.org/QA/Execution/Web_Testing