和其他人一样,我需要在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浏览器,您可以访问codecpack。安装所有版本的IE浏览器,即IE合集。

或者你可以使用www.multibrowserviewer.com。它可以检入45个浏览器和3个操作系统。

其他回答

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

对于windows用户,windows XP模式允许你在windows 7专业版、企业版或终极版上运行多个版本的IE。

http://blogs.msdn.com/b/ie/archive/2011/02/04/testing-multiple-versions-of-ie-on-one-pc.aspx

在我的Mac OS X电脑上,我使用Sun公司的VirtualBox,它是免费的。

我运行3个WinXP虚拟盒子,并为每个虚拟盒子分配256K。请看本教程:

http://www.10voltmedia.com/blog/2008/12/screencast-install-internet-explorer-on-osx-using-virtualbox/

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

CrossBrowserTesting是从Browsershots内部发布的。

我的一个同事推荐了Internet Explorer Collection。它的工作似乎没有问题,但我不是一个高级用户。支持安装ie1 (!!) ~ ie8。