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

其他回答

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

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

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

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

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

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

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

我已经为这个问题纠结了一段时间。虚拟化将是一个很好的解决方案,但对我的需求来说太慢了。一台笔记本电脑只能处理这么多:在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

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