Running Internet Explorer 6, Internet Explorer 7,

2018-12-31 18:21发布

Like everyone else, I need to test my code on Internet Explorer 6 and Internet Explorer 7. Now Internet Explorer 8 has some great tools for developer, which I'd like to use. I'd also like to start testing my code with Internet Explorer 8, as it will soon be released.

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.

How to run Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on the same machine?

30条回答
无色无味的生活
2楼-- · 2018-12-31 18:47

I wouldn't do it. Use virtual PCs instead. It might take a little setup, but you'll thank yourself in the long run. In my experience, you can't really get them cleanly installed side by side and unless they are standalone installs you can't really verify that it is 100% true-to-browser rendering.

Update: Looks like one of the better ways to accomplish this (if running Windows 7) is using Windows XP mode to set up multiple virtual machines: Testing Multiple Versions of IE on one PC at the IEBlog.

Update 2: (11/2014) There are new solutions since this was last updated. Microsoft now provides VMs for any environment to test multiple versions of IE: Modern.IE

查看更多
弹指情弦暗扣
3楼-- · 2018-12-31 18:47

For windows users there is Windows XP Mode which allows you to run multiple versions of IE on a Windows 7 Professional, Enterprise, or Ultimate edition.

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

查看更多
千与千寻千般痛.
4楼-- · 2018-12-31 18:49

modern.IE is an undertaking by Microsoft to make cross-browser testing for the Internet Explorer browsers easier. Microsoft has created modern.IE to provide developers and designers with a suite of tools to facilitate IE browser testing.

With modern.IE you have two methods of testing your website in IE. First, modern.IE offers you three months free usage of the web-based browser testing service BrowserStack. You just need a Facebook account to login and start testing.

The second method modern.IE offers is a virtualization image of each browser from IE 6 to IE 10, which can be run on virtualization software like VirtualBox, Virtual PC, Hyper-V or VMWare Player on WIndows, Mac or Linux.

Additionally, modern.IE also provides a tool which scans your web page for common coding problems and lists them out for you to correct so that they display correctly in all IE versions.

Source: modern.IE - Cross-Browser IE Testing Tools Suite

查看更多
还给你的自由
5楼-- · 2018-12-31 18:50

Adobe BrowserLab.

查看更多
无与为乐者.
6楼-- · 2018-12-31 18:51

Someone I know created a portable version of IE8 using thinstall (now it's bought by vmware and called thinapp) (only 1.8 MB). Thinstall creates a virtualized application with a virtual filesystem builtin and is the perfect solution to DLL hell. The whole app runs from a single exe file.

This is untested against other versions install, I might add.

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

查看更多
其实,你不懂
7楼-- · 2018-12-31 18:52

I wrote an article about how to test on many browsers without having these browsers installed: 10+ Ways for testing website browser compatibility

查看更多
登录 后发表回答