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

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

其他回答

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

尝试使用IE Tab ..Firefox / Chrome扩展 http://www.ietab.net/home

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

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

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

有一种很好的方法可以在同一台机器上运行IE6、IE7和IE8,那就是虚拟PC。

首先从微软网站http://www.microsoft.com/downloadS/details.aspx?FamilyID=04d26402-3199-48a3-afa2-2dc0b40a73b6&displaylang=en下载虚拟电脑

然后下载3个IE6、IE7和IE8版本的EXE文件:http://www.microsoft.com/downloads/details.aspx?FamilyId=21EABB90-958F-4B64-B5F1-73D0A413C8EF&displaylang=en

在你的电脑上安装它们并测试你的网络应用程序。节省了我寻找类似解决方案的时间。