How much should I test? (2) -- Do not let the details go.

Source: Internet
Author: User

Suppose we are testing a webpage input box for an email address. The following describes the requirements:

After entering an "email" in the text box, click "save". If the correct email address is entered, the email address is transferred to the next page. Otherwise, a message box is displayed, "The email you entered is not a qualified email. Please enter it again ". After clicking the "OK" button, the focus falls back into the email address input box, And the cursor is placed behind the last text in the text box. No selected text. The original input text content remains unchanged.

So how much should we test?

1. Do you want to test the messages displayed in the dialog box?

2. Click OK in the dialog box to test?

3. Click the close button in the dialog box to test?

4. Do I need to test the focus fall?

5. Do you want to test the cursor position?

6. Do you want to test the selected text?

7. Do you want to test the text content in the text box?

 

The answer is: test.

 

If there are omissions in the test, it is likely to become the omission point of the bug.

Think about how many bugs in your project are detected by others (test groups and customers) because the tests are insufficient.

Therefore, the test should be as comprehensive as possible.

From the two perspectives of comprehensive test case design types and Test details in the previous chapter, will the testing work hours be quite expanded?

Related Article

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.