Test Case Design Method-Error Guessing Method-Test journal

Source: Internet
Author: User
Many software testers use the black box test case design methods are equivalent class division, boundary value analysis, decision table method, causality diagram method and orthogonal test, and so on, in fact, there is another way to mention, that is the wrong guessing, which is particularly important for senior testers. Because with the knowledge of product testing and the rich experience in testing, test cases designed using error guessing are often very effective and can be used as a supplement to test design. And the more experienced the accumulated experience, the higher the efficiency of the method use. So what is the wrong guessing method, we will use the definition and the actual test case to deepen the understanding of the error guessing method.
First, let's take a look at the definition of the error guessing method: Experienced testers can often infer the possible errors of the program based on their work experience and intuition, so that the test is targeted. Its elements are three points, respectively: experience, knowledge, intuition. on how to use the problem, we extracted two points:
1. Enumerate all possible errors in the program and the special circumstances that make them prone to errors;
2. Choose the test case according to them.
We know that experience is an important element of false guessing, and that it is subjective, then this determines the pros and cons of the error guessing method, first of all, we look at the advantages:
1. Give full play to people's intuition and experience
2. Brainstorming
3. Easy to use
4. Quick and easy to cut
The corresponding disadvantages are:
1. It's hard to know the coverage of a test
2. May lose a large number of unknown areas
3. Subjective and difficult to replicate
......
See the full text please click to download: http://www.51testing.com/html/42/n-863942.html
Example: Test * * College course search Input Box
Now that you're using error guessing, let's first list what might be causing the search results to be wrong, as follows:
1. Single space, multiple spaces
2. string preceded by a space
3. The string has a space behind it
4. Escape character "\ n"
5. Null
6. Special characters
7. Wildcard character *
8. Empty strings, very long string
......
See the full text please click to download: http://www.51testing.com/html/42/n-863942.html
This article is included in the "51 Test World" Electronic magazine, Phase 34th.
Copyright NOTICE: This article is from 51Testing Software test network Electronic magazine-"51 Test World" 34th. 51Testing Software test Network and related content providers have all the copyrights of 51testing.com content, without express written permission, no one or unit shall copy, reprint or mirror the contents of this website, otherwise it will be held liable.

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.