Web Test Type

Source: Internet
Author: User

WEB Test

First, functional testing

1. Link test
   Link is a main feature of Web application system, it is the main means to switch between pages and instruct users to go to some pages that do not know the address. Link testing can be divided into three areas. First, test that all links are actually linked to the linked page as instructed, and secondly, whether the linked page exists, and finally, to ensure that there are no orphaned pages on the Web application, so-called orphaned pages refer to the page without a link, only the correct URL is known address to access.

Link testing can be done automatically, and now there are many tools to take. Link testing must be done during the integration testing phase, that is, link testing after all page development of the entire Web application system is completed.

2. Form Test

When users submit information to the Web application administrator, they need to use form actions, such as user registration, login, information submission, and so on. In this case, we must test the integrity of the commit operation to verify the correctness of the information submitted to the server. For example: The user fills in the birth date and the occupation is appropriate, fills in the province and the city whether matches and so on. If a default value is used, verify that the default value is correct. If the form can only accept certain values that are specified, it is also tested. For example, only certain characters can be accepted, and these characters may be skipped during testing to see if the system will make an error.

3.Cookie Testing
Cookies are typically used to store user information and the user's actions in an application, and when a user accesses an application using Cookies, the Web server sends information about the user and uses that information to Cookies are stored on the client computer, which can be used to create dynamic and custom pages or to store login information.

If the Web application uses cookies, it is necessary to check whether the cookies work properly. The content of the test may include whether the cookie is working, whether it is saved at the scheduled time, and what effect the refresh has on cookies .

4. Design language test

Differences in Web design language versions can cause serious problems on the client or server side, such as which version of HTML to use . This issue is especially important when developers are not together when developing in a distributed environment. In addition to the HTML version issue, different scripting languages, such as Java,JavaScript, ActiveX, VBScript, or Perl and so on to be verified.

5. Database Testing

In the Web application technology, the database plays an important role, and the database provides the space for the management, operation, query and realization of the user's request to the data storage. In Web applications, the most common type of database is a relational database, and you can use SQL to process information.

In a Web application system that uses a database, there are generally two types of errors that can occur, namely, data consistency errors and output errors. Data consistency errors are mainly caused by incorrect form information submitted by users, and output errors are mainly caused by network speed or programming problems, which can be tested separately for both cases.

Second, performance testing

1. Connection Speed Test

The speed at which users connect to Web applications varies depending on how they surf the internet, and they may be telephone dialing or broadband access. When downloading a program, the user can wait a long time, but if you only visit a page it will not. If The response time of the WEB system is too long (for example, more than 5 seconds), the user will leave without patience.

In addition, some pages have a timeout limit, if the response is too slow, the user may not have time to browse the content, you need to re-login. Moreover, the connection speed is too slow, may also cause the data loss, causes the user to get the real page.

2. Load Test

Load tests are designed to measure the performance of a web system at a certain load level to ensure that the web system functions properly within the requirements range. The load level can be the number of users who have access to the WEB system at any one time , or the amount of online data processing. For example: How many users can a WEB application be allowed to be online at the same time? What happens if this quantity is exceeded? can Web applications handle a large number of users ' requests for the same page?

3. Pressure test

The load test should be scheduled to be tested in the actual network environment after the web system is published. Because a company's internal staff, especially the project team, is always limited, and a Web system can process the number of requests at the same time far beyond this limit, so only on the Internet , accept load testing, the results are correct and trustworthy.

Stress testing refers to the actual destruction of a Web application system, the test system reflects. Stress testing is the ability to test system limitations and resiliency, which means that testing Web applications will crash and under what circumstances. Hackers often provide incorrect data loads until the Web application crashes and then gain access when the system restarts.

Areas of stress testing include forms, landing, and other information transfer pages.

Iii. Usability Testing

1. Navigation Test

Navigation describes how a user operates within a page, between different user interface controls, such as buttons, dialogs, lists, Windows, and so on, or between different connection pages. You can decide whether a Web application is easy to navigate by considering the following questions : Is navigation intuitive? is the main part of the WEB system accessible through the home page? does the WEB system require a sitemap, search engine, or other navigational aids?

Putting too much information on a page tends to have the opposite effect as expected. users of Web applications tend to drive the goal and quickly scan a Web application to see if they have the information they need, and if not, they leave quickly. Few users are willing to take the time to familiarize themselves with the structure of the Web application system, so theWeb application navigation Help is as accurate as possible.

Another important aspect of navigation is the consistency of the Web application's page structure, navigation, menus, and connection styles. Make sure the user intuitively knows if there is content in the Web application and where the content is.

once the hierarchy of WEB application system is decided, it is necessary to test the user navigation function, let the end user participate in this kind of test, the effect will be more obvious.

2. Graphic Test

In the Web application system, the appropriate picture and animation can play the role of advertising, but also to beautify the function of the page. A Web application's graphics can include pictures, animations, borders, colors, fonts, backgrounds, buttons, and so on. The contents of the graphic test are:

(1) to ensure that the graphics have a clear purpose, the picture or animation do not randomly stacked together, so as not to waste transmission time. Web Application system picture size to be as small as possible, and to be able to clearly describe something, usually linked to a specific page.

(2) Verify that all page font styles are consistent.

(3) The background color should match the font color and foreground color.

(4) the size and quality of the image is also a very important factor, generally using JPG or GIF compression.

3. Content Testing

Content testing is used to verify the correctness, accuracy, and relevance of the information provided by the Web application system.

The correctness of information refers to whether the information is reliable or misinformation. For example, in the list of commodity prices, the wrong price may cause financial problems or even legal disputes; the accuracy of the information refers to whether there are grammatical or spelling errors. This kind of testing is usually done using word processing software, such as the " Pinyin and grammar checker" feature in Microsoft Word, and the relevance of information is whether the current page can find a list or portal of information related to the current browsing information. The so-called " related articles list" in the General Web site .

4. Overall interface Test

Overall interface refers to the entire Web Application System page structure design, is to give users a sense of the whole. For example: When a user is comfortable browsing a Web application, is it intuitive to know where to find the information? is the design style consistent across the WEB application system?

The test process for the overall interface is actually a process of investigating the end user. The general Web application System takes the form of a questionnaire on the homepage to get feedback from the end user.

For all usability testing, there is a need for external personnel ( people who are not associated with Web application development or who have little contact) to participate, preferably end-users.

Iv.. Compatibility test

1. Platform Testing

There are many different types of operating systems on the market, most commonly Windows,Unix,Macintosh, Linux, and so on. which operating system the end users of WEB applications use depends on the configuration of the user's system. In this way, compatibility issues may occur, and the same application may run correctly under some operating systems, but may fail under another operating system.

Therefore, before the Web system is published, the web system needs to be tested for compatibility under various operating systems.

2. Browser testing

Browser is a webThe core components of the client, from different vendors of the browser toJava,、Javascript、activexplug-ins< Span style= "font-family: Arial" > or different html specifications have different support. For example, activex microsoft The product is for internet Explorer javascriptnetscape products, javasun products and so on. In addition, frame and hierarchy styles are displayed differently in different browsers, not even at all. Different browsers for security and java The settings are not the same.

One way to test browser compatibility is to create a compatibility matrix. In this matrix, we test the adaptability of different vendors and different versions of browsers to certain components and settings.

V. Safety testing

the security testing area of WEB application system mainly includes:

(1) The current Web application System basically uses the first registration, after landing. Therefore, you must test the valid and invalid user name and password, to notice whether the case is sensitive, how many times you can try the limit, whether you can browse a page without landing and so on.

(2) whether the Web application system has a time-out limit, that is, the user login after a certain period of time (such as minutes) did not click on any page, whether the need to re-login to normal use.

(3) in order to ensure the security of WEB application system, log files are very important. You need to test whether the relevant information is written into the log file and is traceable.

(4) when a secure socket is used, it is also necessary to test whether the encryption is correct and to check the integrity of the information.

(5) server-side scripts often constitute security vulnerabilities that are often exploited by hackers. Therefore, you also want to test the problem of not being authorized to place and edit scripts on the server side.

Web Test Type

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.