Checklist (Checklist) can help testers to save time, because many effective methods are not needed for each test rediscovered predecessors have been full summary, and a lot of validation Secondly, the checklist help testers to avoid missing person's memory is limited, inevitably there will be missed by the checklist checks can be effective to prevent the omission. Recently, IBM engineers Sujing Gang summarizes checklist of Web software test data input, and provides a good reference for Web testers.
Su Jinggang major input from the form data validation, data consistency, date input, digital input, the input of numeric characters summarized the main points need to check the Web test. Digital input, for example, which is a common test point checklist includes six elements:
1, to ensure that the minimum, maximum, correctly handle - For digital input domain, typically has its own maximum value and the minimum value of these two extremes processing requires special verification. In addition to verify the minimum and maximum values, the best testers with validation smaller than the minimum value, and the value is larger than the maximum that can be proper handling. For example, the need to enter a port number in the process of defining a connection, the minimum value of the port number 1. When the user input port number is 0, can be successfully added to the connection. When the user to verify the connection when prompted port number 0 is illegal. This is a defect in the product. The correct approach is When users view add the port number to 0, it gives the error message informing the user that the port number is illegal. A need to look at the place, when the input exceeds the maximum minimum, products need to give clear warnings and tips, inform the user what is the correct range.
2, to ensure that the numerical input box the first character position to enter a space error - When numerical input box characters to spaces when the input is no longer a value should be doing illegal input processing. Product process, you need to give an error message.
3 to ensure that the last character position of the input value of the input box to enter a space error - numerical input box last character to spaces when the input is no longer a value should do illegal input processing. Product process, you need to give an error message.
4, to ensure a positive sign (+) and the negative sign (-) is correctly processing - each relates to the numeric input are related to the problem of a numerical symbol. Because values have positive and negative points, we need to ensure that the processing of positive and negative numbers are accurate and appropriate. Able to accept input box with a positive sign value, the processing results should talk without symbols (default is positive), the results of the numerical input, because in essence, the two values are equal (except longer show the input values, because simple display on the difference of a + sign).
5, the divisor is 0 - divisor of 0 is the need to avoid all operations. Software products, if it comes to the division operation, you need to pay special attention to avoid division by 0 occurs. Which contains a variety of case the divisor is 0, the divisor is the input value of 0, the divisor is a middle results 0.
6, in all operations of adding 0 - 0 All the operator has an important role, and is also a very special value. Therefore, during the test, in all relates to the operation value of 0 has a good effect of the test product, can be tested to more 0.
Similarly, the list of data consistency test and boundary value:
1, check Enter the maximum character length working properly - each input domain has its own input character length limit, when the input length is the maximum length, the need to ensure that the product display and work properly. Usually belong to the maximum length of the character, to the difficulty of the page display great challenges, because of the limited page content displayed maximum.
2, verify digital input domain whether to accept the negative and whether it is reasonable to accept negative values - digital number with area some cases should not accept negative input, then if not handled properly, when the negative input, there will be unpredictable situation. If allowed to accept the negative, test whether the processing of a negative test important.
3, to ensure that the data is saved all values in the database have been complete save - save the data on the product page, you need to make sure that all values are saved to complete the database. Access to the same data from different sources are consistent, synchronized. To verify this, the testers need to try to re-open after save and view the display, to see whether it is fully consistent with the data before saving, while trying to verify whether it can get consistent results from different path to access and apply the same input.
Data validation testing is often overlooked, Su Jinggang summarizes the three test points:
1, at any time when illegal data is entered, the system can perform poorly - software products designed for the purpose of not only receiving illegal data input, but the products need to ensure that when illegal data is still not bad, and still should make appropriate processing. Are many types of illegal data, including of data illegal characters in length, the size of the data, the data, the order of data input.
2 What are the consequences if the user is in the process of product use, remove the cookie will be? - Cookie is a product in order to identify the user and save user configuration information, session tracking and data stored in the local terminal. Product design needs to ensure that the user, if the user deletes cookies, the product is still handled properly, there will not be too bad, unpredictable behavior.
3, if you delete the cookie using the product will be the consequences? - If you delete the cookie after using the product, the user again to access the product, you need to ensure that the product is still to make appropriate treatment, not unexpected action.
Web software test data input checklist details, readers can view the original, but also includes a checklist form input, date input, digital character input. These lists provide a good reference for Web testers design test cases.
没有评论:
发表评论