Robbie Bridgewater writes on the difficulty in finding bugs during testing since no single computer can run all of the major browsers—not to mention the added challenge of testing various mobile operating systems. In this article, Robbie compares four possible solutions to this dilemma.
Differences in how your site looks between browsers can be one of the most frustrating bugs to resolve, because it’s so hard to notice the bugs in the first place. No single computer can run all of the major browsers—due to Microsoft’s Internet Explorer’s not existing for Mac and Safari’s no longer existing for Windows—not to mention the added challenge of testing various mobile operating systems. To tackle this issue, multiple solutions have appeared in the marketplace. I compare four of the most useful here.
This is an interesting idea: a web browser that can change its engine on the fly (Trident for Internet Explorer, Gecko for Firefox, and WebKit for Safari and Chrome). For regular use, Lunascape seems to lack some of the polish that other modern web browsers possess, but for a quick test of each engine, it can be great. However, this is an imperfect solution, because clearly not all bugs are engine related (as anyone who has seen a bug show up only in one version of a browser but not a newer version of the same browser can attest). To change which browser engine you are using, you just click the icon at the bottom left of the browser.
Browsera is an online solution that examines your website page by page, presenting you with snapshots of different browsers side by side, as well as attempting to actually detect variations and pinpoint where they are. The free version only allows a comparison across two versions of Firefox and one version of Internet Explorer, while the paid version contains all popular web browsers, with both past and current versions available.
Browsera’s error detection does not always work perfectly. On some sites I tested it against, it would simply state that only a certain percentage of content matched, while on others, it would throw up false errors anywhere that an element might be random (such as where an ad might load). While the error detection may give false positives, it does not seem to give any false negatives, meaning that it shows large areas of your site that you can safely ignore with respect to browser differences.
Browsera also shows thumbnails of the pages side by side, which can be expanded if you are using the paid version of the site. The value for this tool definitely lies in the paid service, which allows you to view your website with all popular web browsers, both past and present. You can examine each page closely, switching between browser views by expanding thumbnails in the paid version of the website.
Browserstack uses virtualization on the cloud to give you access to a testing platform. It offers any possible combination of OS and browser version to be virtualized, including mobile platforms (the mobile browsers are run on desktop emulators normally used by developers, such as iOS simulator for Mac). This solution works for almost any situation, but can be quite frustrating to use, as even scrolling on Browserstack creates lag. Compared to the previous solutions, though, Browserstack has the advantage of truly showing you what a computer examining your website sees, and compared to the following solution, you do not have to worry about operating system licenses.
The program runs inside of your browser, and you can switch which browser you will use and reload the page instantly.
If you have a computer powerful enough to handle virtualization and the licenses necessary for it, I would definitely recommend this as a solution. This provides the same benefits as Browserstack does, but without the slowdown of remote access, it is much snappier. You can use the same techniques that Browserstack does to test mobile sites as well.
If you have a Mac, a free download of xCode includes the iOS Simulator, and an Android development kit is free on any OS. VirtualBox, Parallels, and VMWare are all good virtualization tools, and with them you can make your one computer switch between whatever operating system and browser that you need. One potential difficulty for Windows users is that it is more difficult to virtualize a Mac in Windows than it is to virtualize windows on a Mac. If you wish to test iOS devices, then you need to either begin with a Mac or run the iOS simulator inside of a virtualized Mac.
Summarily, the Lunascape browser is the fastest tool for testing a website, essentially allowing a quick test of IE, Firefox, and Chrome in quick succession, but it is also the least thorough, having only the underlying engines as similarities. The other options are all more thorough, but each has its own difficulties. Browsera essentially gives you some automated error detection and allows you to examine a web page across each browser side by side by expanding the thumbnails, but it does not allow you to interact with the web pages. Browserstack is a powerful solution, but the lag inherent in its cloud-based solution may frustrate a user. Finally, local virtualization can easily be considered the ideal solution, but also the most expensive and difficult to initially set up, requiring licenses for each OS you wish to use as well as a fairly powerful computer.
|Works for Mobile Testing||Has a free version||Has a paid premium version||Works with Mac||Works with Windows|
* VirtualBox is a free option, but you still need access to licence keys for the OS you will emulate to do so legally.