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


当前回答

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

其他回答

非常好的选择是更新到Internet Explorer 10。你会发现非常有用的开发工具,包括兼容IE5到ie10,包括怪癖模式。如果切换IE版本i菜单,页面呈现立即发生变化。

该模式的一个非常好的特性是javascript和HTML(类似firebug)调试器,它在兼容模式下工作。这意味着,你可以用最新的调试器在非常老的IE中调试javascript,这是一个非常酷的功能。虚拟机不能这样做。是的,您可以使用虚拟机来检查最终结果。

最好的,可能也是唯一的解决方案可能是IE测试器,可以在ietester[dot]com找到它使用所有IE 6, 7和8的IE引擎!我还没发现任何矛盾!

我认识的一个人用thinstall创建了一个IE8的便携版本(现在它被vmware买了,叫做thinapp)(只有1.8 MB)。Thinstall创建了一个内置虚拟文件系统的虚拟化应用程序,是解决DLL问题的完美解决方案。整个应用程序从一个exe文件运行。

我补充说,这还没有针对其他版本的安装进行测试。

http://rapidshare.com/files/247957494/IE8.Portable.Thinstall.exe

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

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