和其他人一样,我需要在Internet Explorer 6和Internet Explorer 7上测试我的代码。现在Internet Explorer 8为开发人员提供了一些很棒的工具,我很乐意使用。我还想开始用Internet Explorer 8测试我的代码,因为它很快就会发布。

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

如何在同一台机器上运行Internet Explorer 6、Internet Explorer 7和Internet Explorer 8 ?


当前回答

有一种很好的方法可以在同一台机器上运行IE6、IE7和IE8,那就是虚拟PC。

首先从微软网站http://www.microsoft.com/downloadS/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&displaylang=en下载虚拟电脑

然后下载3个IE6、IE7和IE8版本的EXE文件:http://www.microsoft.com/downloads/details.aspx?FamilyId=21EABB90-958F-4B64-B5F1-73D0A413C8EF&displaylang=en

在你的电脑上安装它们并测试你的网络应用程序。节省了我寻找类似解决方案的时间。

其他回答

我还建议运行几个虚拟机,而不是在同一个Windows实例上运行多个版本的Internet Explorer。

微软在ie6、ie7和ie8浏览器的“Internet Explorer应用兼容性VPC镜像”下载页面提供了虚拟PC磁盘镜像。

从上述链接可用的虚拟磁盘映像的当前列表如下:

Windows XP SP3下的Internet Explorer 6 Windows XP SP3下的Internet Explorer 7 Windows XP SP3下的Internet Explorer 8 Windows Vista上的Internet Explorer 7 Windows Vista上的Internet Explorer 8

(名单截止到2009年10月11日。所有版本都有有效期。)

Firefox有一个插件,可以让网页呈现的效果和ie 5.5/6/7/8 beta 2一样。

IE NET渲染器

编辑:这看起来像它只做截图,所以它可能不是很有用。很好,确保你的布局没有破坏,但没有太多其他。

我不会这么做的。使用虚拟电脑。这可能需要一点准备,但从长远来看,你会感谢自己的。根据我的经验,你不能让它们并排安装,除非它们是独立的安装,否则你不能真正验证它是100%真实的浏览器渲染。

更新:看起来更好的方法之一(如果运行Windows 7)是使用Windows XP模式来设置多个虚拟机:在一台PC上测试多个版本的IE。

更新2:(2014年11月)自上次更新以来,有新的解决方案。微软现在为任何环境提供虚拟机,以测试多个版本的IE: Modern。即

我今天在我的Windows 7电脑上做了这个:

安装Windows虚拟电脑,并运行XP模式 创建两个Windows XP映像。一台是ie6,一台是ie7。 现在我可以从Windows 7桌面运行这些浏览器了!就像任何其他应用程序一样。无需打开“虚拟PC”。

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

对于windows用户,windows XP模式允许你在windows 7专业版、企业版或终极版上运行多个版本的IE。

http://blogs.msdn.com/b/ie/archive/2011/02/04/testing-multiple-versions-of-ie-on-one-pc.aspx