Software Testing (i)

Source: Internet
Author: User

In the most recent time, the most impressive bug I've had was in Javaweb's big homework last semester.

The requirement is to add a modifier button after each record of the worker, which requires that the contents of the previous page be brought into the next page, because the password is encrypted by MD5, so the content that is brought into the subsequent page is encrypted, and when the password needs to be changed, no error occurs, but If you do not change the password, click OK, at this point, the encrypted password will be encrypted once, resulting in a problem with password modification.

The reason for the bug is that when writing code, only one-sided situations are taken into account, and the overall situation is not taken into account.

Find out the method is: oneself in testing other functions, in the case of not changing the password, click OK, when again in this identity, password prompt error. In order to set the output statement in the program, output the contents of the password, so as to find this bug.

Software Testing (i)

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.