Web Test Experience Summary

Source: Internet
Author: User

common methods for web functional testing1, the page link check whether each link has a corresponding page, and the page between the correct switch;2. Correlation check whether deleting/adding an item will have an impact on other items, and if so, are the effects correct. 3, check whether the function of the button is correct, such as update, Cancel, delete, save and other functions are correct. 4, the string length check input exceeds the requirements of the length of the string description, to see if the system check the length of the string, will be wrong.5. Character type check enter other types of content where the content of the specified type should be entered (for example, enter a different character type where the integer type should be entered) to see if the system checks the character type and whether it will error.6, punctuation check the input content including a variety of punctuation, especially spaces, various quotes, enter. See if the system is working correctly.7, Chinese characters processing in the Chinese language can input the system input, see if there will be garbled or error.8. Check the integrity of the information that is brought out when viewing information and update information, check that the information you have filled out is not all taken out., bring out the information and add the consistency9, information duplication in some need to name, and the name should be the only information to enter a duplicate name or ID, see if the system has been processed, will be error, the same name includes whether it is case-sensitive, and the input before and after the input space, the system to make the correct processing.10, check the deletion function in some can delete more than one information at a place, do not select any information, press "Delete", see how the System processing, will be wrong; then select one and more information, to delete, see if the correct processing.11, check whether add and modify the consistency of the request to add and modify information, such as adding required items, modifications should also be required; Add an item that is defined as an integral type, and the modification must also be an integral type.12, check the change of the name of the change when the name of the item can not be changed to the existing content, see whether the processing, error. At the same time, also pay attention to, will be reported and their name of the wrong.13, repeated submission of a single article has been successfully submitted records, back and then submit to see if the system has been processed. 14, check the use of the back key situation in the back of the place, to return to the original page, and then up, repeated several times, see if there will be errors.15, search check in the search function where the input system exists and does not exist, to see if the search results are correct. If you can enter multiple search conditions, you can add both reasonable and unreasonable conditions to see if the system is processing correctly.16. Enter information location Note When you enter information where the cursor is resting, the cursor and the information you enter will be skipped elsewhere.17, upload the download file to check whether the function of uploading and downloading files is implemented, whether the upload file can be opened. What is the format of the uploaded file, whether the system has the explanation information, and check whether the system can do it. 18, must fill in the key to check the item should be filled out when the system has been processed, the required fields are prompted for information, such as the required fields before adding *19, the shortcut key check whether to support common shortcut keys, such as CTRL + V BACKSPACE, and so on some fields that do not allow the input of information, such as the selection of the date on the shortcut is also limited. 20, enter the check at the end of the input directly press ENTER, to see how the system processing, will be error. common Web Test Types 1. Functional Testing 1.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 page as instructed, and secondly, whether the linked pages are present, and finally, to ensure that there are no orphaned pages on the Web application system, so-called orphaned pages are no links to the page, only the correct URL address can be accessed. 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. 1.2. Form testing 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. 1.3.Cookies Test cookies are usually used to store user information and the user's operation in an application, and when a user accesses an application using cookies, the WEB server sends information about the user and stores the information in the form of a cookie on the client computer. This 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. 1.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 problem, different scripting languages, such as Java, JavaScript, ActiveX, VBScript, or Perl, are also validated. 1.5. Database TestingIn 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.   2. Performance Testing 2.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.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? 2.3. Stress testingThe 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.   3. Usability testing 3.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 the Web 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. 3.2. Graphics testing 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.3. Content Testingcontent 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, which refers to whether the current page can find information lists or portals related to the current browsing information, or so-called "related article lists" in the general Web site. 3.4. Overall interface Testingoverall 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. 4. Client Compatibility testing 4.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. 4.2. Browser testingbrowsers are the core component of Web clients, and browsers from different vendors have different support for Java, JavaScript, ActiveX, plug-ins, or different HTML specifications. For example, ActiveX is Microsoft's product, designed for Internet Explorer, JavaScript is a Netscape product, Java is a sun product, and so on. In addition, frame and hierarchy styles are displayed differently in different browsers, not even at all. Different browsers do not have the same settings for security and Java. 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. 5. Security Testingthe 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 timeout limit, that is, the user login after a certain period of time (for example, 15 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. 6. SummaryThis paper discusses the Web-based system testing method from the aspects of function, performance, usability, client compatibility and security. Web-based system testing has similarities and differences with traditional software testing, and presents new challenges to software testing. Web-based system testing not only needs to check and verify whether to run according to the requirements of the design, but also to evaluate whether the system is suitable for display on the browser side of different users. It is important to also test security and usability from the perspective of the end user. ext.: http://qa.blog.163.com/blog/static/190147002201111211139961/

Web Test Experience Summary

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.