Test the browser compatibility of a website

Source: Internet
Author: User

Browser is the core software of Internet product clients and a necessary software for Website access. Browsers of different vendors have different responsibilities for Java, JS, ActiveX, and plin-ins. Even browsers of the same manufacturer may have different versions. For example, ActiveX is a Microsoft product, designed for Internet Plug E, and JS is a Netscape Product. In addition, the framework and layered style are also displayed in different browsers. Currently, the most commonly used browsers are IE6.0 and IE7.0. However, due to operational habits, a considerable number of users prefer Firefox and Google browsers.

In response to this situation, we should also develop targeted testing strategies to test the browser compatibility of the website, so as to ensure the website has a better user experience. First, you can specify a type of browsers (including versions) for some special projects. These must be specified in the requirement specification, and compatibility tests must be conducted for these specified browsers. Secondly, considering that browsers cannot be specified for most projects, we must first test the compatibility of mainstream browsers (including versions), and then test non-mainstream browsers (including versions) perform tests to ensure the integrity of the website's browser compatibility. It is best to be compatible with browsers with multiple kernels (such as IE, Google, Firefox ).

Some software can also be used for testing the browser compatibility.

(1) IE Tester and IE Collection. IETester can help us simulate the compatibility of the pages in IE5.5, IE6, IE7, IE8 beta1 and other browsers, and verify whether the CSS style or website layout can be properly displayed in various major browsers. The IETester is displayed on different tabs in the form of "tab pages". The software adopts an interface rendering method similar to Office2007, which is very convenient to use,

  

In addition to IETester, there are also IE collections that can solve the problem of coexistence of multiple IE versions. Internet Explorer Collection includes Internet browsers of IE1.0, 1.5, 3.0, 5.5, 6.0, 7.0, and 8.0. With IE Collection, designers can test layout styles and functions in different IE files. In addition, the IE Collection provides Internet javase Developer Toolbar tools to check the style, layout, or program errors of webpage content.

(2) "Developer Tools" in the IE field ". Since the release of IE8, Microsoft has built Developer Tools in this browser. You can enable this function through the menu bar "Tools"> "Developer Tools". The shortcut key is F12, as shown in.

  

(3) browser testing based on the virtual platform. To facilitate applications in various environments, you can use virtual machines for testing. For example, Windows 7 has integrated Windows VirtualPC. After following the operating system, use one of the main functions of Virtual PC, "Publish Virtual applications to the desktop", and directly create a shortcut on the local desktop, this shortcut directly starts Virtual Machine Applications (such as IE), and the virtual machine is also started and running in the background. With these tools, we can easily and easily build a compatibility test environment on the local machine, without consuming more machine resources for compatibility testing and providing the efficiency of website testing.

This article by Nanjing Research Company http://www.jslycs.com original

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.