Squish tip of the week: Changing the Web Browser used for Automation

Squish tip of the week: Changing the Web Browser used for Automation

Did you know that Squish for Web supports test automation scripts that run your test suite several times, each time using a different browser?

There are two ways to configure web browser in Squish:

1. Squish IDE

Squish - Server Settings - Manage AUTs

Go to Edit > Server Settings > Manage AUTs…

Squish - Server Settings - Browser

Select the Browser entry to open the Browser configuration page.

Note: If the Browser entry is not shown, please check which Squish package you are using as this entry is only visible in Squish for Web packages and combo packages including Squish for Web.

2. Squishrunner (Command Line)

Make sure that the squishserver is already running then execute the following command:

squishrunner --config setDefaultWebBrowser browser-id

Where “browser-id” must be one of the following:
firefox (Firefox)
ie (Internet Explorer)
mozilla (Mozilla)
safari (Safari)
google-chrome (Google Chrome)
opera (Opera)

Related topics