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


当前回答

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

其他回答

我已经为这个问题纠结了一段时间。虚拟化将是一个很好的解决方案,但对我的需求来说太慢了。一台笔记本电脑只能处理这么多:在Adobe Photoshop和Illustrator旁边运行一个开发环境,然后尝试在连接到大量服务器的同时进行虚拟化,并且在后台进行许多其他事情……嗯…缓慢。

我现在有以下设置,优雅地解决了这个问题,虽然有点贵,但它是值得的:

其中一台Macbook连接到外部显示器 一台Windows桌面,安装了Windows XP和Windows Vista双启动

这两台机器都运行Synergy,在两台机器之间共享键盘和鼠标,因此我可以轻松地在两者之间切换。因为它们是独立的电脑,所以我没有任何性能问题,并且可以在我的Mac上愉快地进行Photoshop处理,而我的Windows机器仍然运行着所有浏览器。

这个设置涵盖了Yahoo!定义的分级浏览器支持的大多数浏览器。http://developer.yahoo.com/yui/articles/gbs/:

浏览器:

Firefox 2 Mac Firefox 3 Mac Firefox 3 windows Firefox 2 Windows Webkit夜间Mac Safari 3 Windows Safari 4 Mac 谷歌Chrome最新版本Windows Opera最新版本Windows Opera最新版本Mac Internet Explorer 6 (Windows机器的XP部分) Internet Explorer 8带IE7兼容模式(Windows机器的Vista部分)

包括电子邮件客户端:

苹果的邮件 雷鸟== Firefox渲染引擎(在XP机器上) Outlook Express == IE6渲染引擎 Outlook 2003(在XP机器上) Outlook 2007 (Vista机器上) 上面提到的所有浏览器上的所有流行的web客户端(Live mail, Gmail, Yahoo!邮件)

这个设置没有涵盖的东西:

我没有Mac OS 10.4 我只测试了最新版本的Opera,而不是任何早期版本(因为它的用户基础很小) 我测试了Safari 3和Safari 4,一个在Windows上,一个在Mac上,而不是两个平台上的两个版本。现在,Safari 4仍处于测试阶段;Safari一直都有一个很好的渲染引擎。 至于电子邮件客户机,我从未费心测试Lotus Notes

你可以在这里查看设置的视频。

使用Internet Explorer应用程序兼容性VPC镜像。

从微软下载中心下载链接

为了备份其他用户,您需要在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

试试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...

我还建议运行几个虚拟机,而不是在同一个Windows实例上运行多个版本的Internet Explorer。

微软在ie6、ie7和ie8浏览器的“Internet Explorer应用兼容性VPC镜像”下载页面提供了虚拟PC磁盘镜像。

从上述链接可用的虚拟磁盘映像的当前列表如下:

Windows XP SP3下的Internet Explorer 6 Windows XP SP3下的Internet Explorer 7 Windows XP SP3下的Internet Explorer 8 Windows Vista上的Internet Explorer 7 Windows Vista上的Internet Explorer 8

(名单截止到2009年10月11日。所有版本都有有效期。)