和其他人一样,我需要在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机器上运行Virtual PC实例。如果您尝试进行Internet Explorer的多安装,则会破坏页面上的条件注释,这将使测试变得困难(例如,使用Internet Explorer 5、6和7。在Windows机器上,即使在ie 5中,IF语句也会解析为ie 7,这意味着更奇怪的bug。

更多信息以及下载和运行Internet Explorer 6虚拟映像的链接: http://blogs.msdn.com/ie/archive/2007/04/17/ie7-virtual-pc-image-and-ie6-virtual-pc-image-refresh.aspx

如果你已经有了虚拟电脑,下面是图片: http://www.microsoft.com/Downloads/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&displaylang=en

其他回答

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

IE NET渲染器

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

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

为了备份其他用户,您需要在Windows机器上运行Virtual PC实例。如果您尝试进行Internet Explorer的多安装,则会破坏页面上的条件注释,这将使测试变得困难(例如,使用Internet Explorer 5、6和7。在Windows机器上,即使在ie 5中,IF语句也会解析为ie 7,这意味着更奇怪的bug。

更多信息以及下载和运行Internet Explorer 6虚拟映像的链接: http://blogs.msdn.com/ie/archive/2007/04/17/ie7-virtual-pc-image-and-ie6-virtual-pc-image-refresh.aspx

如果你已经有了虚拟电脑,下面是图片: http://www.microsoft.com/Downloads/details.aspx?FamilyID=21eabb90-958f-4b64-b5f1-73d0a413c8ef&displaylang=en

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

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

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

还有CrossBrowserTesting,它支持许多浏览器,似乎不需要在你的电脑上安装任何插件就可以工作,还包括一个非常整洁的布局比较工具。

CrossBrowserTesting是从Browsershots内部发布的。