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


当前回答

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

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

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

其他回答

您可以使用新的MS Expression Web SuperPreview

(来源:istartedsomething.com)

如果你不想花钱购买MS Expression Web,你可以完全免费下载Microsoft Expression Web超级预览版。唯一的限制是在试用期满后,你不能与非IE浏览器进行比较。

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

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

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

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

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

现代的。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测试工具套件

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