Test Browser compatibility

If you are a developer of websites or -software, you know this problem:

While developing of websites is really a tie to make them compatible for all browsers. Especially because it is not possible to habe all needed browsers on your system. But here are a few possibilities how you can test most of the browsers you want to test.As a developer you know most of this possibilities but for a newcomer in this bussiness or if you are no developer but you want to try to make your own website, here some tips:

Firefox

You have installed a version of firefox but you want to test other versions of this nice browser. Then you can download a portable version of firefox. The portable version can be installed, for example, on a USB stick or on your hard disk as additional version. This helps a lot to view your website in multiple versions of this browser.

InternetExplorer

To test different versions of this browser it is a little bit different, because the IE is somehow a part of the operatingSystem Windows and you can only install one single version. To test different versions of real IEs, you need different PCs or OSs. But there is a good new browser especially for this behaviour to test different IE versions. It is called IETester. In this Browser you can test the versions of IE in different Tabs. This browser can be downloaded under http://www.my-debugbar.com/wiki/IETester/HomePage.

Chrome

To run different Chrome versions on one system is really hard! I never tried it but there seems to be a difficult solution: (found on chromespot.com)

A finally have a solution, this is registry data problem:
How to do it then (this is an example for 2.0.172.39 and 3.0.197.11, I’ll try it with next versions as they will come, let’s assume I’ve started with Chrome 2):

1/ Install Chrome 2, you’ll find it Application Data folder, since I’m from Czech republic and my name is Bronislav Klučka the path looks like this:

C:\Documents and Settings\Bronislav Klučka\Local Settings\Data aplikací\Google\Chrome

and run Chrome

2/ Open registry and save
[HKEY_CURRENT_USER\Software\Google\Update\Clients\{ 8A69D345-D564-463c-AFF1-A69D9E530F96}]
[HKEY_CURRENT_USER\Software\Google\Update\ClientSta te\{8A69D345-D564-463c-AFF1-A69D9E530F96}]

keys, put them into one chrome2.reg file and copy this file next to chrome.exe (ChromeDir\Application)

3/ Rename Chrome folder to something else (e.g. Chrome2)

4/ Install Chrome 3, it will install to Chrome folder again and run Chrome
5/ Save the same keys (there are changes due to different version) and save it to the chrome3.reg file next to chrome.exe file of this new version again
6/ Rename the folder again (e.g. Chrome3)

the result would be that there is no Chrome dir (only Chrome2 and Chrome3)

7/ Go to the Application folder of Chrome2, create chrome.bat file with this content:
@echo off
regedit /S chrome2.reg
START chrome.exe -user-data-dir=“C:\Docume~1\Bronis~1\LocalS~1\Dataap~1\Google \Chrome2\User Data“
rem START chrome.exe -user-data-dir=“C:\Documents and Settings\Bronislav Klučka\Local Settings\Data aplikací\Google\Chrome2\User Data“

the first line is generic batch command, the second line will update registry with the content of chrome2.ref file, the third lines starts Chrome pointing to passed directory, the 4th line is commented and will not be run.

Notice short name format passed as -user-data-dir parameter (the full path is at the 4th line), the problem is that Chrome using this parameter has a problem with diacritics (Czech characters)

8/ Do 7/ again for Chrome 3, update paths and reg file name in bat file for Chrome 3

Try run both bat files, seem to be working, both versions of Chrome are running simultaneously.

Updating:
Running „About“ dialog displays correct version, but an error while checking for new one. To correct that do (I’ll explain form Chrome2 folder):
1/ rename Chrome2 to Chrome
2/ Go to Chrome/Application folder
3/ run chrome2.reg file
4/ run chrome.exe
(works the same for Chrome3)
now the version checking works. There has been no new version of Chrome since I’ve find this whole solution up. But I assume that update will be downloaded to this folder so all you need to do is to update reg file after update and rename Chrome folder back to Chrome2. I’ll update this post after successfull Chrome update.

http://chromespot.com/forum/google-chrome-troubleshooting/2286-multiple-versions-of-chrome.html

Safari

Here it is a little bit easier. A good explanation I found on http://michelf.com/weblog/2005/multi-safari/. Here it is in an easy and good way explained how you can run multiple versions of Safari simultanious on one system, but the description is only for MacOS. I don’t know if it really works on a Windows system.

Like you guess, I’m working with Firefox and IE, because this are the most used browsers all over the world, but I have installed additionally an Safari and the Chrome Browser to test, if everything works fine in this browsers, but here for me it is enough to test it in one version.

For the firefox I’m using the 3.6.x version as installed version and the 4.x as portable. For the IE I’m using the IETester to test if I have enough backward compatibility because I allways install the newest stable version what most of the normal PC users are not doing.

Print Friendly, PDF & Email

4 thoughts on “Test Browser compatibility

Leave a Comment

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

*
*