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

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

其他回答

如果你的电脑安装了IE8,你也可以测试你的网站在IE7下是如何工作的。 当您在IE7浏览器中进入需要测试的页面时,打开“工具”->“开发人员工具”。然后在“开发人员工具”对话框的菜单中,点击“浏览器模式:[当前模式]”,在那里你可以选择3个选项。 也就是说,

IE7 IE8 IE8兼容模式

你不能用IE8代替IE7。IE8的JavaScript引擎和IE7完全不同。尝试在IE7和IE8中在数组或对象文字中留下尾随逗号——在前者中你会得到一个错误,而在后者中即使在兼容模式下也不会。如果你想让你的网站在IE7中工作,你需要在IE7中测试。

正如Eduardo提到的,微软最近发布的SuperPreview是一种工具,可以让你看到网页是如何在许多不同的浏览器中呈现的,即使它们没有安装在本地。

例如,即使您没有安装这些浏览器,您也可以在Internet Explorer 6、Internet Explorer 7、Internet Explorer 8、Firefox和Safari中查看页面的外观。

使用Internet Explorer应用程序兼容性VPC镜像。

从微软下载中心下载链接

我已经根据Donavon的教程安装了虚拟PC,但似乎我的笔记本电脑的BIOS不支持硬件虚拟化,需要运行虚拟PC。所以,确保你的设备支持之前,你进一步与虚拟PC。