views:

77661

answers:

41

Like everyone else ;), I need to test my code on IE6 and IE7. Now IE8 has some great tools for developer, which I'd like to use. I'd also like to start testing my code with IE8, as it will soon be released.

The question is: how to run IE6, IE7, and IE8 on the same machine. So far with IE6 and IE7 I've been using Multiple IE. But people have reported (see comments on the page linked in the previous sentence) issue with IE6 after installing IE8. Those errors are related to focus in form fields. Running IE7 wouldn't matter so much as IE8 can use the IE7 rendering engine, but we still need IE6.

Any recommendation on how to IE6, IE7, and IE8 on the same machine?

+77  A: 

I wouldn't do it. Use virtual PCs instead. It might take a little setup, but you'll thank yourself in the long run. In my experience, you can't really get them cleanly installed side by side and unless they are standalone installs you can't really verify that it is 100% true-to-browser rendering.

Ian Robinson
tangent: http://www.virtualbox.org/ looks cool. I haven't tried it myself - this may be a good opportunity to try it though?
Ian Robinson
It sucks that this is the correct answer. Microsoft should make this work. Unless your machine is an expensive behemoth on steroids, you can't run multiple virtual machines at the same time, which means you have to test and fix for each browser at separate times.
apphacker
@irobinson Yes, would be a good opportunity to try VirtualBox :). But are there Windows images with IE8 freely available for VirtualBox?
Alessandro Vernet
@apphacker Indeed! Answers don't reflect the world as it should be, but as it is ;).
Alessandro Vernet
@apphacker: How many people in this world actually *need* three different browser versions running side by side? You can't blame Microsoft or any other software company for not writing their software to the .000001% that need such a thing.
Dave Swersky
As other mention, is really a PITA to have 2 virtual machines running at the same time, and you forget to mention that you have to publish to some intermediate server if you developing with VS2008 using Casini web server. Not a good solution for me.
Eduardo Molteni
@Dave...I'd wager that a large percentage of people that develop large scale web apps need this. We're really not talking about that small a percentage here. Besides, plenty of other people would like this too...I'd like to be able to upgrade my software without having it blow away my old copy, so I could just go back to my old version easily, if I decide to.
Beska
This question links to a Microsoft support page where you can download VMs containing IE 6, IE 7 and IE 8: http://stackoverflow.com/questions/135057/internet-explorer-8-and-ie-6-side-by-side
Paul D. Waite
@Dave It's not writing software for the most common users. It's writing software which will help generate Microsoft the most amount of profit / market share
jklp
Windows 7 provides another option w/ XP Mode: http://www.microsoft.com/windows/virtual-pc/download.aspx With the caveat that your processor needs to have special virtualization capabilities (which mine doesn't).
Ian Robinson
voyager
So the standalone installs are flawed? How? http://stackoverflow.com/questions/2859010/ie6-and-ie7-standalone-what-do-they-render-differently
Yar
+1  A: 

I use Virtual PC to run an instance of windows where I have IE6 installed. It's a bit clumsier than having different versions in the same computer, but it's a 100% working IE6. Multiple IE works fine for most testing, but it's lacking that last few percents.

Don't work too much to get the page looking right in IE8, it still has some glitches that most likely will be fixed in the final release.

Guffa
+1  A: 

This does not directly answer your question, but have you had a look at Litmus? We tend to use it mostly for testing HTML/CSS compatibility across multiple browsers (supported by Litmus).

ayaz
@ayaz I didn't know about Litmus, but in this case I would need a service to which I can connect with VNC (or similar), which provides multiple machines on different servers from which I can hit my application.
Alessandro Vernet
+6  A: 

You can't use IE8 to replace IE7. The JavaScript engine in IE8 is never the same as in IE7. Try leaving trailing commas in array or object literals in both IE7 and IE8 - you'll get an error in the former, but not the latter even in compatibility mode. If you want your site to work in IE7, you need to test in IE7.

apphacker
@apphacker Very useful information. Things are never as simple as Microsoft would like to make you believe :).
Alessandro Vernet
+22  A: 

I would also suggest running a few virtual machines rather than running multiple versions of Internet Explorer on the same instance of Windows.

Microsoft provides Virtual PC disk images with Internet Explorer 6, 7, and 8 at the Internet Explorer Application Compatibility VPC Image download page.

The current list of virtual disk images available from the above link are:

  • Internet Explorer 6 on Windows XP SP3
  • Internet Explorer 7 on Windows XP SP3
  • Internet Explorer 8 on Windows XP SP3
  • Internet Explorer 7 on Windows Vista
  • Internet Explorer 8 on Windows Vista

(List is current as of October 11, 2009. All versions have expiration dates.)

coobird
+5  A: 

Backing up the other users, you will need to run virtual pc's on your window box. If you try to do a multi install of IE, you will break conditional comments on pages, which will make testing difficult anyway (For example, With IE 5,6,7 On a windows box, the IF IE statements will resolve to IE 7 even in IE 5, which means even more weird bugs.

More information and a link to download and run a IE6 Virtual Image: http://blogs.msdn.com/ie/archive/2007/04/17/ie7-virtual-pc-image-and-ie6-virtual-pc-image-refresh.aspx

If you have Virtual PC already, here is the image: http://www.microsoft.com/Downloads/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&displaylang=en

SuperRoach
@superroach Interesting, conditional comments being broken makes it one more reason to use virtual machines.
Alessandro Vernet
A: 

What about using App-V? http://www.microsoft.com/systemcenter/appv/default.mspx

In particular Dynamic Application Virtualization http://www.microsoft.com/systemcenter/appv/dynamic.mspx

It virtualizes at the application level. It is useful when running incompatible software on the same OS instance.

PaulWaldman
@PaulWaldman Have you use that already? It seems to solve a larger problem than the one I have.
Alessandro Vernet
A: 

I'm not sure if the installation you're using automatically does this, but to get IE6 to honour it's conditional comments once you've installed IE 7 too, you need to delete a key in the registry. I think its something like /software/microsoft/internet explore/version vector/ and the key is called version.

alex
A: 

Firefox has an add in that will render a webpage the same as if it was in internet explorer 5.5/6/7/8 beta 2.

IE NET Renderer

edit: This looks like it only does screen shots so it may not be very useful. Good for making sure your layout isn't broken but not much else.

WalterJ89
@WalterJ89 Thank you for the link. But from what I read, IE NET Renderer only does screenshots, and so doesn't work for interactive applications.
Alessandro Vernet
sorry i did not notice that. may work for quickly checking that your layout isn't broken though.
WalterJ89
A: 

I asked a similar kind of question. I think few of the answers given here may help.

http://stackoverflow.com/questions/533688/how-to-unit-test-my-application-manually-on-multiple-browsers

Techmaddy
+72  A: 
Tsvetomir Tsonev
@Tsvetomir Tsonev, thank you for the link. In this case I'll need to debug JS code, so I guess I won't escape installing a VM, but for layout issues IETester is a good pick.
Alessandro Vernet
This is a nice idea, but actually not licensed. Microsoft's IE licenses expressly forbid redistribution, and while they are unlikely to come down on this sort of application if your organisation is audited it technically counts as pirated.
Keith
Details: http://www.my-debugbar.com/forum/t150-Licencing-issues.html
Keith
While this is technically true, I'm sure Microsoft won't mind as this tool helps developers write software for their own browsers. I can only dream of the day when Microsoft will sue anyone for distributing IE6 :)Besides it doesn't disclose anything that is (or was) not already available with Windows. I wouldn't lose my sleep over some canned EULAs, but if in doubt just use VMs, as they're the more reliable and accurate option anyway.
Tsvetomir Tsonev
IETester has occasional bugs which is pretty nasty when you don't expectit. For example with cookies set from javacript.
Sergey
The site I'm working with has popups and this seems to break this tool. Didn't work for me.
jcollum
Although this tool is nice, it has some limitations. I had issues with Uploadify not working in IE6/IE7 with IETester, but Uploadify worked just fine in Virtual/Real machines.
Bryan Denny
Works awesomely except for popup window interaction. If I could vote for only 1 bug in IETester to be fixed, it would be popups.
scunliffe
Unfortunately IETester is quite buggy - quite often behaviour for native installation of, say, IE6 differ from IETester
Art
+37  A: 
Eduardo Molteni
Comments from those who've used this would be cool..
madcolor
How does this work with IE8? I don't it on my computer now, so if I download it, will it show me 6, 7, and 8?
Martin
I'm using it as part of MS Expression (not the IE attached version) and works very well. A bit slow in my case, but I do not have a super-machine
Eduardo Molteni
@Martin: Yes, if you have IE8, you can view IE7 via compatibility view, IE6 and IE8 of course.
Eduardo Molteni
Am I right in saying that it just renders the page, but you can't actually interact with it (as in press buttons, enter text, etc.)? That makes it less useful as I thought, because you can't actually browse the site as a user would do.
tomlog
Its not really that super a product to be honest, slow (very very very very slow) and also no interaction.
JL
Only renders, but now works for Firefox too.
Jonas Byström
A: 

As Eduardo mentioned, recently announced Microsoft SuperPreview is a tool that lets you view how web pages are rendered in many different browsers, even if they aren't installed locally.

For example, you can see how your page looks in IE6, IE7, IE8, Firefox, and Safari, even if you don't have those browsers installed.

Judah Himango
A: 

Somewhat related, you should consider running your site past BrowserShots when it is almost done, see how it looks in dozens of browsers on hundreds of configurations.

Sparr
+2  A: 

try www.xenocode.com/browers, run ie7 , ie8.. all withint a java sandbox applet

Alas, 404 error
Marcel Korpel
+3  A: 
Wolfr
+6  A: 

Have you tried this ? http://finalbuilds.edskes.net/iecollection.htm

Fabien Ménager
I have. It did not work on Windows 7 where I tried.
Aftershock
I use this with a Win XP VirtualBox instance. I've only noticed one thing not consistent with a standalone IE6 experience: occasionally it will not let me enter focus on form fields and when I try it on a real machine running only IE6 there is no problem.
Ty W
That looks really good. Does anyone have any feedback on it ?
Clement Herreman
I use it when I have to test old IEs (IE6+) in "native" mode, not the IE8 compatibility mode, but it is buggy under Seven. When I work on a Win7 computer, I use a VirtualBox virtual machine with a Windows XP on it with IE collection.
Fabien Ménager
A: 

I'd use http://browsershots.org

G-Man

GeoffreyF67
Depending on the problem I would agree. For static pages browsershots is very useful.
Ian
A: 

Someone I know created a portable version of IE8 using thinstall (now it's bought by vmware and called thinapp) (only 1.8 MB). Thinstall creates a virtualized application with a virtual filesystem builtin and is the perfect solution to DLL hell. The whole app runs from a single exe file.

This is untested against other versions install, I might add.

http://rapidshare.com/files/247957494/IE8.Portable.Thinstall.exe

+3  A: 

I did this on my Windows 7 computer today:

  1. Installed Windows Virtual PC, and ran XP Mode
  2. Created two Windows XP images. One with IE6 and one with IE7.
  3. Now I can run these to browsers from my Windows 7 desktop! Just like any other application. No need to open the Virtual PC.

http://www.microsoft.com/windows/virtual-pc/

Tommy
+7  A: 

.02 more...

I've written a step-by-step blog post showing how to run IE6, IE7 and IE8 as "virtual applications" on Windows 7 Ultimate.

Donavon
Awesome! (15 chars)
Maxim Zaslavsky
very helpful. Great stuff!!
vsingh
A: 

On my Mac OS X machine I use Sun's VirtualBox wich is free.

I run 3 WinXP virtual boxes and assign 256K to each. See this tutorial:

http://www.10voltmedia.com/blog/2008/12/screencast-install-internet-explorer-on-osx-using-virtualbox/

gdelfino
A: 

Adobe BrowserLab.

Joe
A: 

I realise that this is an old thread, but has anyone come across issues with SuperPreview for Internet Explorer and sIFR text? sIFR text doens't get rendered - it's like it's being completely ignored. Not too helpful for testing...

A: 

This blog post worked for me: http://aarfing.dk/?p=120 (How to run IE6, IE7 and IE8 side by side).

Mario Awad
+3  A: 

IETester is a free WebBrowser that allows you to have the rendering and javascript engines of IE8, IE7 IE 6 and IE5.5 on Windows 7, Vista and XP, as well as the installed IE in the same process. For more details click the below link [http://www.my-debugbar.com/wiki/IETester/HomePage%5D%5B1%5D

Dilip
A: 

I wrote an article about how to test on many browsers without having these browsers installed: 10+ Ways for testing website browser compatibility

Amr ElGarhy
+4  A: 

I use http://www.spoon.net/browsers.

You can run IE8, IE7, IE6, Firefox 3.5, Firefox 3, Firefox 2, Safari 4, Safari 3, Opera 10, Opera 9, Chrome.

You just need to install a plugin, and then click on the corrisponding icon. It will download and run the files needed to run each of the abovementioned browsers.

Alex Bagnolini
A: 

So, what is the best option now?

Rover87
A: 

To Check All IE You can go to CodeckPack . nl and install all IE, ie, IE collection.

or you can use www. multibrowserviewer .com it can check in 45 browsers and 3 os

Baljeetsingh
A: 

Multiple IE http://tredosoft.com/Multiple_IE Will install ie up to 6, without disrupting current installation (i have 7 and it left it as it is). Now I need to find a way to run 8 on top of all that. 6 and 7 already run fine thanks to that little app above. (only tested on XP)

rolfen
A: 

IETester crashed when I tried to test a highly interactive travel search engine, Zoombu. It sounds good in theory but didn't do the job in practice.

Rachel Armitage
Shoudl be comment
Casebash
A: 

A colleague of mine recommended Internet Explorer Collection. It appears to work without issues, but I'm far from a power user. It also supports installing IE 1 (!!) through 8.

Mike Cornell
+1  A: 

Run IE6, IE7, and IE8 on the Same Machine Using Windows 7 XP Mode

http://articles.sitepoint.com/article/ie6-ie7-ie8-win7-xp-mode

metal-gear-solid
+1  A: 

There is one elegant way to run IE6, IE7 and IE8 on the same machine, called virtual PC.

First download virtual PC from Microsoft website here: http://www.microsoft.com/downloadS/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&displaylang=en

Then download 3 EXE files with IE6, IE7 and IE8 here:http://www.microsoft.com/downloads/details.aspx?FamilyId=21EABB90-958F-4B64-B5F1-73D0A413C8EF&displaylang=en

Install them on your PC and test your web applications. Saved me days of looking for similar solutions.

Toronto Website Designers
+1  A: 

The best and probably only solution is probably IE tester that could be found at ietester[dot]com It uses the IEengines for all IE 6, 7 and 8! And I have not found any discrepancies yet!

Tumharyyaaden
A: 

the new url for the xenocode browser testing suite of almost all available browser is now to be found here: http://spoon.net/browsers No need to set up a virtual machine or install a browser. Simple testing.

andrej
A: 

I'd suggest the free Browser Sandbox.

This plugin will let you securely test your site in the most popular versions of Internet Explorer, Firefox, Chrome and Opera. All browsers are run in a virtual environment so it's safer than installing an outdated browser for real.

Best of all: as soon as you have the plugin, no additional installs are required. Just click the browser you wanna launch and you're good to go.

Pieter
A: 

CSS has release a Virtual IE6 running on all Windows platforms including Windows 7 using App-V

http://www.youtube.com/watch?v=3cccFGXORmE

MSVirtGuy