Internet Explorer 6 and Internet Explorer 7 on same computer for debugging [duplicate]

时光总嘲笑我的痴心妄想 提交于 2019-12-05 17:07:18

问题


Possible Duplicate:
Running Internet Explorer 6, Internet Explorer 7, and Internet Explorer 8 on the same machine

I recently started a new job and my lead is out sick. He assigned me a bug in our code that only affects Internet Explorer 6. The developer box I'm running is Windows Server 2003 with Internet Explorer 7, though.

How can I open the web page and debug it from my computer in Internet Explorer 6?


回答1:


Install Virtual PC (now a free download) and one of the disk images from this page that provides you with a vanilla install of XP with the browser you want to test.




回答2:


Use IETester.




回答3:


Step 1: Virtual machines configured for each setup you want to test. Use VMWare or Parallels if you are on a Mac.

Step 2: Automate your functional tests with Selenium. You will never look back!




回答4:


We do all of our IE6 testing on a VMWare machine that runs XP with IE6. Obviously takes a bit of setup time but worth it once it's done.




回答5:


I've played with many of these ie6 options, and the best IMO is just to have a vmware install with an ie6 image in the long term.

In the short term, however, I've had the most success with IE Collection, but it is still somewhat buggy.

IES4Linux and IES4OSX work [sometimes] on their respective Operating Systems too.




回答6:


Use Spoon (was Xenocode)... http://spoon.net/browsers/

It will let you startup any number of different browsers in a sandbox from within your browser.

The advantage:

  1. You don't have to install any virtual machines.
  2. You don't have to rely on apps like IE Tester and can instead use the actual browsers.



回答7:


This obviously doesn't apply to your specific situation, but for anyone who is running Windows 7, a good option is to use XP Mode. The XPM image has IE6 installed and won't expire like the Internet Explorer Application Compatibility VPC images.

Once you've installed XP Mode, create a shortcut to IE in the XP Programs menu (so a shortcut is published to your Win 7 Start menu). You can then launch IE6 side-by-side with IE8 on your Win 7 desktop.




回答8:


You can also use Microsoft's own Expression Web SuperPreview

Download page: http://www.microsoft.com/downloads/details.aspx?FamilyID=8e6ac106-525d-45d0-84db-dccff3fae677&displaylang=en

Further info: http://expression.microsoft.com/en-us/dd565874.aspx

Edit:

Sorry I didn't notice your "...and debug it..." statement in the original post. I think SuperPreview will just show a side-by-side visual comparison. If you need to debug javascript or anything like that, then I would use the virtualization methods mentioned above. (In practice I actually use virtualization for testing, but I figured I'd suggest something different.)




回答9:


Multiple IE works great.



来源:https://stackoverflow.com/questions/1669124/internet-explorer-6-and-internet-explorer-7-on-same-computer-for-debugging

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!