Confirmed users
2,196
edits
No edit summary |
|||
Line 5: | Line 5: | ||
=== Starting the hub === | === Starting the hub === | ||
Connect to qa-selenium.mv.mozilla.com, and execute the following from a terminal (you can use SSH or VNC): | |||
cd ~/moz-grid-config | cd ~/moz-grid-config | ||
Line 12: | Line 11: | ||
=== Starting nodes === | === Starting nodes === | ||
Connect to the appropriate machine, and execute the following from a terminal (you can use SSH or VNC): | |||
cd ~/moz-grid-config | cd ~/moz-grid-config | ||
ant launch-node | ant launch-node | ||
=== Registering mobile devices === | |||
There is a cron job that runs every hour on qa-selenium.mv.mozilla.com to register the known devices. The contents of the crontab is below. This can be created or edited using <code>crontab -e</code> from a terminal. | |||
MAILTO="" | |||
@hourly /Users/webqa/moz-grid-config/flynnid.sh | |||
After restarting the Selenium Grid hub you may wish to manually register the known devices. You can do this from anyway as long as you: | |||
* Are on the VPN. | |||
* Have FlynnID installed. | |||
* Have cloned moz-grid-config. | |||
To manually register the known devices execute the following from a terminal: | |||
cd ~/moz-grid-config | |||
flynnid flynnid.json | |||
If you wish to register other devices you will need to create a configuration file to describe them. | |||
=== Shutdown === | === Shutdown === | ||
Terminate the process using CTRL+C | |||
=== Architecture === | === Architecture === | ||
Line 113: | Line 129: | ||
===== Mac OS X ===== | ===== Mac OS X ===== | ||
From a terminal: | |||
mozdownload -v 14.0.1 -d /tmp | |||
mozinstall -d /Applications/ /tmp/firefox-14.0.1.en-US.mac.dmg | |||
mv /Applications/Firefox.app/ "/Applications/Firefox 14.app/" | |||
rm /tmp/firefox-14.0.1.en-US.mac.dmg | |||
===== Windows ===== | ===== Windows ===== | ||
From a command prompt: | |||
mozdownload -v 14.0.1 -d %TMP% | |||
mozinstall -d %USERPROFILE% %TMP%\firefox-14.0.1.en-US.win32.exe | |||
move %USERPROFILE%/firefox-14 "\Program Files\Mozilla Firefox 14" | |||
del %TMP%\firefox-14.0.1.en-US.win32.exe | |||
== Setting hostname on Mac OS X == | == Setting hostname on Mac OS X == | ||
Line 144: | Line 164: | ||
The output will display the FQDN of the computer. | The output will display the FQDN of the computer. | ||
== References == | == References == |