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


当前回答

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

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

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

其他回答

没有人提到这一点,但IETester是一个很棒的工具。支持Internet Explorer 5.5、6、7和8RC1浏览器。呈现与相应的浏览器匹配。至少我还没发现任何出入。

我通常用它来做一个基本的布局检查。我仍然需要虚拟机来调试JavaScript或使用特定ie版本的开发人员工具栏。

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

如果你的电脑安装了IE8,你也可以测试你的网站在IE7下是如何工作的。 当您在IE7浏览器中进入需要测试的页面时,打开“工具”->“开发人员工具”。然后在“开发人员工具”对话框的菜单中,点击“浏览器模式:[当前模式]”,在那里你可以选择3个选项。 也就是说,

IE7 IE8 IE8兼容模式

使用App-V怎么样? http://www.microsoft.com/systemcenter/appv/default.mspx

特别是动态应用程序虚拟化 http://www.microsoft.com/systemcenter/appv/dynamic.mspx

它在应用程序级进行虚拟化。当在相同的操作系统实例上运行不兼容的软件时,它非常有用。

多个即 http://tredosoft.com/Multiple_IE 将ie安装到6,不中断当前的安装(我有7和它离开它是)。 现在我需要找到一种方法在所有这些之上运行8。6和7已经运行良好多亏了上面的小应用程序。(仅在XP上测试)