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


当前回答

Adobe BrowserLab。

其他回答

试试http://finalbuilds.edskes.net/iecollection.htm。

Utilu IE Collection contains multiple IE versions, which are standalone so they can be used at the same time. Conditional Comments work exactly the same as in the native versions. The original version number is shown correctly in the User Agent string. The version number can be found in the window title too. Utilu IE Collection also includes the Internet Explorer Developer Toolbar 1.00.2189.0. This Explorer Bar provides a variety of tools which make troubleshooting websites easier. The Internet Explorer Developer Toolbar is compatible with Internet Explorer 5.0 and higher when using Windows 2000 or higher. Utilu IE Collection has the option to install the Firebug Web Development Extension for Internet Explorer. Firebug provides a lot of useful tools which make web development easier...

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

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

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

CrossBrowserTesting是从Browsershots内部发布的。

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

我不会这么做的。使用虚拟电脑。这可能需要一点准备,但从长远来看,你会感谢自己的。根据我的经验,你不能让它们并排安装,除非它们是独立的安装,否则你不能真正验证它是100%真实的浏览器渲染。

更新:看起来更好的方法之一(如果运行Windows 7)是使用Windows XP模式来设置多个虚拟机:在一台PC上测试多个版本的IE。

更新2:(2014年11月)自上次更新以来,有新的解决方案。微软现在为任何环境提供虚拟机,以测试多个版本的IE: Modern。即