和其他人一样,我需要在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 ?


当前回答

我使用http://www.spoon.net/browsers(仅限windows)。

你可以运行IE8、IE7、IE6、Firefox 3.5、Firefox 3、Firefox 2、Safari 4、Safari 3、Opera 10、Opera 9、Chrome浏览器。

你只需要安装一个插件,然后点击相应的图标。它将下载并运行运行上述每个浏览器所需的文件。

其他回答

也可以看看微软的兼容性检查器,它会给你一些问题的警告,这些问题会影响你网站的向后兼容性。

http://ie.microsoft.com/testdrive/html5/compatinspector/

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

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

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

有一种很好的方法可以在同一台机器上运行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

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

我发现了一个新工具,让这变得非常非常简单。

使用IE9开发者模式。按F12。

在文件菜单上,你可以看到浏览器版本:IE9,点击这里,你可以把浏览器版本一直改回7。对于6,你仍然需要一个虚拟PC。

使用App-V怎么样? http://www.microsoft.com/systemcenter/appv/default.mspx

特别是动态应用程序虚拟化 http://www.microsoft.com/systemcenter/appv/dynamic.mspx

它在应用程序级进行虚拟化。当在相同的操作系统实例上运行不兼容的软件时,它非常有用。