Mozilla WebQA – Selenium Grid Config Stephen Donner WebQA 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.bat title Selenium RC [%1] [%2] ant launch-remote-control -Drc.port=%1 -Drc.environment=%2 launch-rc.sh echo -n -e "\033]0;Selenium RC [$1] [$2]\007" ant launch-remote-control -Drc.port=$1 -Drc.environment="$2 launchHub.sh echo -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? [email_address] Or, better yet:  [email_address]
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

Selenium lightning-talk

  • 1.
    Mozilla WebQA –Selenium Grid Config Stephen Donner WebQA Manager San Francisco Selenium Meetup, Lightning Talks edition August 23, 2011
  • 2.
    Our problem Becametiresome and problematic to manage 6 Mac Minis in our Selenium Grid farm, 3 of which have virtual machines
  • 3.
    The near-solution DaveHunt's moz-grid-config : https://github.com/mozilla/moz-grid-config
  • 4.
    In a nutshellFirefox profiles Grid hub / RC binaries Ant build file Grid configuration Launcher scripts Default project properties file Machine-specific properties files
  • 5.
    Firefox profiles Profile/ prefs.js settings-tweaks
  • 6.
  • 7.
    Grid hub /RC binaries /lib /vendor
  • 8.
  • 9.
  • 10.
    Launcher scripts launch-rc.battitle Selenium RC [%1] [%2] ant launch-remote-control -Drc.port=%1 -Drc.environment=%2 launch-rc.sh echo -n -e "\033]0;Selenium RC [$1] [$2]\007" ant launch-remote-control -Drc.port=$1 -Drc.environment="$2 launchHub.sh echo -n -e "\033]0;Selenium Grid\007" cd ~/moz-grid-config/ ant launch-hub
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
    Adding a newenvironment Add a [machine-name/IP].project.properties, containing a reference to itself git checkout master git pull ...and that's it
  • 16.
    Support for 2.0?We're on it: https://github.com/mozilla/moz-grid-config/tree/selenium-grid-2.4
  • 17.
    Thanks! Questions?[email_address] Or, better yet: [email_address]
  • 18.
    Links / ContactInfo 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