devXero's blog

a blog about agile, development, and automation

  • tweets

    Error: Twitter did not respond. Please wait a few minutes and refresh this page.

  • photo

  • Advertisements

Running multiple versions of Firefox (with SWAT)

Posted by Mike Longin on January 26, 2010

Adam Goucher just did a great post on how to run multiple versions of Firefox with Selenium and I though I would steal some of his blog and just remove all of that crazy Selenium stuff and substitute in SWAT. First let me give credit where credit is due:

To summarize:

There are times you may need to run multiple versions of Firefox. For instance maybe you want to be testing the newest beta while still keeping around the files that the majority of your users are using. Here is how to do so.

  • Download as many releases as you want / care about
  • Rather than install it into Applications like you normally would, install it into a folder in Applications that relates to the version.
  • Start each one and uncheck the Preference that would have the browser check for updates

Once you have downloaded the versions of Firefox you would like to test against you just need to configure SWAT to use the one you want to test with.  This can be done via the Editor.  Click on the “Settings” menu item and then the “Other Settings” tab.  Inside you will find a “Firefox root directory” text box.  Place the exe of the Firefox version you would like to use for testing, and then just run your firefox tests.  This will allow you to test against any version of Firefox.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: