What's the best way to test cross-browser compatibility?

折月煮酒 提交于 2019-12-29 08:16:33

问题


Since the portable versions of Internet Explorer are no longer supported (and never fully worked) I'm trying to find a way to test sites in a number of different browsers.

The lag on something like browsershots.org is far too high to be practical, plus you can't test functionality.

I'm looking at using VMWare images of Windows XP with different versions of browsers installed, but it seems like a right pain.

Is there any other method of testing CSS compatibility on browsers?


回答1:


If running Windows, for Internet Explorer try IETester or IE Collection. They contain all versions of Internet Explorer.




回答2:


The best way is to actually install these browsers, and really use them to test. You may use virtual machines in some cases (when you want to test Internet Explorer 6 on a Mac, for example).




回答3:


Like Flakron Bytyqi suggested, the easiest way is to use IETester or similar software. Using IETester for a year, I never saw any difference between its IE6 implementation and the rendering by real IE6.

Now, having multiple virtual machines can be a good idea, since:

  • You have to install three VM only,
  • You may test other browsers. For example, install side by side IE6, Firefox 2 and Opera 8,
  • There is no doubt: you are using real browsers, so everyone using the same browser will have the same result if the same browser options are specified.

Since installing three VM and buying three Windows licenses is not funny, I personally suggest using IETester, as said before, or using services of companies like Litmus (but it's true, you can't test functionality).




回答4:


Have you tried Adobe BrowserLab?

But for functional testing I'm afraid you will have to do it in browsers. If you are using Linux, you can have a Windows XP installation with (Internet Explorer 8, Safari, and Chrome) on VirtualBox on a Linux machine (Internet Explorer 8 has an option to behave like Internet Explorer 7). And do Internet Explorer 6 testing on Wine in Linux. Checkout PlayOnLinux for running Internet Explorer 6 on Linux.



来源:https://stackoverflow.com/questions/3298147/whats-the-best-way-to-test-cross-browser-compatibility

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