One, the function of the Web Test 1, Hyperlink test A, link and link description text to match (note: can also be a picture) B, linked text to describe the correct C, linked text to streamline the effective D, linked pages should exist, should not appear 404 page error cannot be found E, no orphaned pages, only know the specific URL address to access. F, link style (default, visited, mouse hover, mouse click Active)
2, form test A, the form is to provide the user input place (HTTP POST request) B, the restriction of the type of the table item input first verify the legal value, and then verify the exception value is not entered, space, special symbol: _/!&@%* "" ", HTML code <font> Hello </font> at the same time concerned about the correctness of the error message C, the limit of the input length of the table item is the length, less than the qualified length, greater than the limit length D, the table item input format check Date of birth, e-mail, E, form items must fill in the required check form must be set reasonable (such as shopping registration, limited blood type and height is required to fill in the unreasonable) Form items must fill in the required restrictions must be filled in, after the submission should be saved the other correctly completed part of the information F, the form item itself function (detail) radio button can only be selected by single check box can be selected text box can be entered G, the default value of the form item default value to meet the requirements of the default value best fit for most users (e.g., countries registered, preferably China) H, the relationship between the form items such as provinces and cities, state-to-province relations J, the basic functions after the submission of forms are correct (e.g. registration to register successfully) K, duplicate registration and related tips L, GUI: Form items and the entire Form style and layout m, the form can be traversed to support shortcut keys Tab+space (SPACEBAR) + up and DOWN arrow +enter (carriage return) Shift+tab fallback n, the entire form of the role of the entire system and business rationality
3, the File upload type test A, only upload allowed file type B, the size of the file should be limited to the allowable range C, batch upload on the number and the cumulative size limit D, can upload the same name file, if allowed to upload, prompt coverage? or provide automatic renaming function (such as: Name plus 1, etc.) e, the upload should be an interface or interface to view the uploaded attachments, check whether the normal download and use; focus on the upload success message G, do not allow upload scripts or executable files (such as EXE) F, can not be simply the file suffix name to determine the file type, such as change Script or exe suffix named txt after uploading L, provide upload progress instruction (progress bar, etc.) m, continue uploading after the network flash, the upload process of the cancellation of J, the path of the upload file selection should default to the last time the file was uploaded the address
Second, database Test 1, DBA for database testing concerns: the relationship between table and table, Rational index of design rationality stored procedure rationality stored procedure: A set of SQL statements to complete a particular function, stored in the database, the user by specifying the name of the stored procedure and giving parameters (such as As a result) to execute it.
2, the test engineer to use the database scenario: A, data consistency test, storage or processing may produce error B, analysis positioning is a functional defect or data storage problem C, performance testing: When preparing the underlying data concurrency, focus on the success rate of the transaction
Iii. Usability Testing 1, the most important to stand in the user's perspective, analysis of the user's background and usage habits 2, consider the regional culture (such as the date of the United States and China use different) 3, the Web navigation bar settings, to be clear, the level can not be too much (preferably not more than 3 levels) 4, the use of shortcut keys and Zoom in and out of the window), the scale of the page: the zoom percentage set in the browser should not be the page confusion, the problem of functional failure) 6, scroll bar as far as possible with the vertical scroll bar, less use of the horizontal scroll bar 7, more select less input
Iv. compatibility Test 1, browser-side compatibility Browser selection criteria: A, according to the core to choose, the same core selection of a typical can B, according to the browser's market share to choose a master browser to execute all the use cases, in the secondary browser does not need to execute all the use cases, the main functions and The page is overwritten. 2, server-side compatibility: (Less consideration, system upgrade to consider) such as Web server upgrades, database upgrades, etc.
Web page Testing