Running Cross Browser tests with Selenium and Cloud Testing

Once you have uploaded your Selenium script into your Cloud Testing account, one of the many things you can do is run a Cross Browser test. This will allow you to compare screenshots, captured HTML and components of the various steps in your user journey in the browsers that we currently support:

Internet Explorer Internet Explorer ( 6, 7 & 8 )
Firefox Firefox ( 2, 3 & 3.5)
Safari Safari (3.2 & 4.0)
Opera Opera (9.6 & 10.0)
Google Chrome Google Chrome (2.0 & 3.0)

Select script

First select the script you want to test from the list available in your project.

CrossBrowser0

You can of course upload another one if you need one, directly from Selenium IDE.

Enter details of test

You can enter a name for the test, along with relevant notes such as which server it was run against, which release from SVN or CVS etc.

Enter details for Cross Browser test

Select browsers

Next you need to select which browsers you want it run on.

If you have an Enterprise subscription, you will be able to choose from your own Private agents, otherwise you will be offered the currently available Public agents.

CrossBrowser1

You can now schedule the test to be run. It will be run on our Cloud Testing agents – you don’t need to do anything more for now – you can check on the progress by looking at the Pending Runs tab.

Viewing the results

Once the tests have completed, you can view the overview of each of the script runs.

Result of Cross Browser run

You can then choose to either view one step in all browsers (by clicking on the ‘Compare these Test Runs’ magnifier icon).

Single step compared in multiple browsers

Alternatively you can choose to view a complete run in a single browser – in this case Google Chrome.

Complete script run in a single browser - Google Chrome

You can then either view the HTML, Components or a full size screenshot of the browser window (compared to the thumbnail).

Test results, screenshots, HTML and components will be stored in line with the package you purchased. Additional storage can always be added when required.

For full details of the services and features available from Cloud testing see www.cloudtesting.com

Update – 9th October 2009 – New Cross Browser compare thumbnails view

CrossBrowser-compare

Did you enjoy this post? Why not subscribe to our feed and get articles like this delivered automatically to your feed reader.

Comments

No comments yet.

Leave a comment

(required)

(required)