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


当前回答

我使用虚拟PC运行安装了IE6的windows实例。这比在同一台电脑上安装不同版本要笨拙一些,但它是一个100%正常运行的IE6。多个IE在大多数测试中都能很好地工作,但它缺少最后的百分之几。

不要花太多精力让页面在IE8中看起来正确,它仍然有一些小故障,很可能会在最终版本中修复。

其他回答

这并没有直接回答你的问题,但是你看过石蕊图吗?我们倾向于使用它来测试跨多个浏览器的HTML/CSS兼容性(由Litmus支持)。

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

CrossBrowserTesting是从Browsershots内部发布的。

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

我使用虚拟PC运行安装了IE6的windows实例。这比在同一台电脑上安装不同版本要笨拙一些,但它是一个100%正常运行的IE6。多个IE在大多数测试中都能很好地工作,但它缺少最后的百分之几。

不要花太多精力让页面在IE8中看起来正确,它仍然有一些小故障,很可能会在最终版本中修复。

VMWare Player是Oracle VirtualBox和Microsoft VirtualPC的免费替代品。就像提到的VirtualBox一样,你需要创建自己的OS+浏览器映像。VMWare Player在这里:http://www.vmware.com/products/player/