QA/Execution/Web Testing/Automation/Selenium Grid: Difference between revisions

Jump to navigation Jump to search
Line 79: Line 79:


=== Adding a new browser environment ===
=== Adding a new browser environment ===
* Add the browser, alias, and path to https://github.com/mozilla/moz-grid-config/blob/master/grid_configuration.yml
==== In the moz-grid-config repository ====
* Fork the repo, do a pull request, merge to master (<- please correct if wrong)
* https://github.com/mozilla/moz-grid-config/blob/master
* Add the browser, alias, and path to grid_configuration.yml
* Add the browser, binary and details to win7.json and mac.json
* Make sure that the path to the binary is correct and includes the correct version number
* Submit the changes as a Git pull request for approval by the team.
 
==== On the node ====
* The moz-grid-config project will already be configred on the node so the first step is to pull the new browser configuration files from the github master branch (as from step 5 above).
* You may also need to install the browser for the version you are adding to the grid. All new browsers should be installed with the version number in the path so that moz-grid-config can always find them!
* Download Firefox binaries: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/
 
===== Installing Firefox on a Mac node =====
* Unpack the Firefox version to the desktop
* Rename the file to include the version number (eg 'Firefox 10.app')
* Move the file from the desktop into the Application folder
* No other changes are necessary - Selenium will manage the configuration and profile
 
===== Installing Firefox on a Win 7 node =====
* Run the Firefox installer and choose custom install
* Change the default install path to include the version number (eg 'C:\Program Files\Mozilla Firefox 10\')
* Complete the install and uncheck 'set as default browser'
* No other changes are necessary - Selenium will manage the configuration and profile


== Jenkins ==
== Jenkins ==
Confirmed users
137

edits

Navigation menu