This two-day Test software found problems

Source: Internet
Author: User

There are several software, the results found a few problems, you may not be aware of the problem.

Data type

Inventory management is unavoidable in the warehouse, but if the input data is not checked strictly point

You can only hehe.

The first problem is that many negative values can be entered in negative numbers, such as the number of goods sold, normal is not

Problem, but there is no limit and no warning.

The second problem is that there is a limit to the maximum number of items because the database is a field with a maximum value, but there is no limit

Line judgment, I enter -10e50, directly overflow. In fact, this is the continuation of the first problem.

I did not see the code, I guess this amount of text input is converted with Strtofloatdef

A setup Flaw

This will also appear under test in the program you have done.

In the ComboBox the first item is set to "Add new option" followed by the added option. Then judge in the OnChange event.

Itemindex=0 the window to add options. (Content in items is related to a table)

?

The things that go wrong are:

  1. Click the drop-down arrow in the ComboBox to expand the content
  2. Use the keyboard up and DOWN ARROW keys to switch to select options, the first item "Add new Option" will automatically pop up the window.
  3. Select an option to confirm. The problem is that the window will appear again once the current window is closed.

    If you choose again, you may be able to make an error.

    If you delete the first item like I do, add a few options (it exists in the database)

    After the second confirmation is 100% error. Then the database will have some strange things, in short, very collapse.

Shortcut key Confusion

This is mainly in the Cashier section, Software design time "+" to modify the number of items, pop up a panel to modify, confirm and close. "-" Modify the unit price

Out is a panel that pops up and closes after confirmation. But if I don't confirm the "+"-"-" press, edit on the panel can't get the focus in the first time.

Feel the need to tighten control. or form.showmodule the modified Windows directly. Avoid the trouble of disorderly pressing.

This two-day Test software found problems

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.