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


当前回答

我还建议运行几个虚拟机,而不是在同一个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日。所有版本都有有效期。)

其他回答

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

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

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

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

现代的。IE是微软的一项承诺,旨在简化Internet Explorer浏览器的跨浏览器测试。微软创造了现代。IE为开发人员和设计人员提供了一套方便IE浏览器测试的工具。

与现代。你有两种方法来测试你的网站。首先,现代。IE为您提供三个月免费使用基于web的浏览器测试服务BrowserStack。你只需要一个Facebook账号就可以登录并开始测试。

第二种方法是现代。IE提供了从ie6到ie10的每个浏览器的虚拟化映像,可以在WIndows、Mac或Linux上运行VirtualBox、Virtual PC、Hyper-V或VMWare Player等虚拟化软件。

此外,现代。IE还提供了一个工具,它可以扫描你的网页,找出常见的编码问题,并列出它们供你纠正,以便它们在所有IE版本中都能正确显示。

来源:现代。IE -跨浏览器IE测试工具套件

要检查所有版本的ie浏览器,您可以访问codecpack。安装所有版本的IE浏览器,即IE合集。

或者你可以使用www.multibrowserviewer.com。它可以检入45个浏览器和3个操作系统。

与此相关的是,你应该考虑在站点快要完成时运行BrowserShots,看看它在几十种浏览器、几百种配置下的效果。