The 13 Most Common Mistakes in Software Testing

1. Input box test

1. Character input box:

(1) Character input box: English full-width, numbers, empty or space, special characters "~!@#¥%...&*?[]{}" pay special attention to single quotes and & symbols. When direct input of special characters is prohibited, use the "paste, copy" function to try to input.

(2) Length check: minimum length, maximum length, minimum length -1, maximum length +1, input super long characters such as copying the entire article.

(3) Space check: there is a space between the input characters, there is a space before the character, there is a space after the character, there is a space before and after the character

(4) Multi-line text box input: Allow carriage return and line feed, save and then display the format that can save the input, only enter carriage return and line feed, check whether it can be saved correctly (if yes, check the saved result, if not, check whether it is normal hint)

2. Numeric input box:

(1) Boundary value: maximum value, minimum value, maximum value +1, minimum value -1

(2) Number of digits: minimum digit, maximum digit, minimum digit-1, maximum digit+1, input super long value, input integer

(3) Abnormal values ​​and special characters: When entering blank (NULL), space or "~!@#$% and other characters that may cause system errors, and it is forbidden to directly enter special characters, try to use paste copy to see if it can be submitted normally. Enter Negative integers, negative decimals, fractions, input letters or Chinese characters, decimals, whether scientific notation supports 1.0E2, full-width numbers and half-width numbers, numbers and letters mixed

(4) Security check: copy if not directly input

(5) For the required items, whether it can be successfully submitted after entering and then deleting; or whether it can be successfully submitted after entering wrong data and then changing to correct data.

(6) Enter decimals and then select all, directly enter new values, whether it can be entered normally; (It may happen that new values ​​cannot be directly filled in after selecting all decimals)

3. Date input box:

(1) Legality check: input 0 month, 13 month, 32 day, etc., the processing method of February in leap year, etc.

(2) Abnormal value, special character: input space or empty, input ~! @#¥%...&*(){}[] and other characters that may cause system errors

(3) Security check: If you can’t directly input, just copy, whether there is an error in the data inspection

4. Duplication of information: Input duplicate names or IDs in some information that needs to be named and the name should be unique, to see if the system handles it, whether an error will be reported, the duplicate name includes whether it is case-sensitive, and enter spaces before and after the input content, Whether the system handles it correctly.

2. Search function test

1. Function realization:

(1) If fuzzy query is supported, can any character in the search name be searched

(2) Whether the relatively long name can be found

(3) Input matching conditions that do not exist in the system

(4) When the user performs a query operation, the general situation is not to clear the query conditions, unless there is a special requirement.

2. Combination test:

(1) Choose back and forth between different query conditions, whether there is a page error (radio box and multi-choice box are the most error-prone)

(2) When testing multiple query conditions, pay attention to the combination test of the query conditions, and the tests of different combinations may report errors.

(3) Pagination of query results, click all the way to the last page to check whether there is duplicate data (dummy data may appear)

3. Add/modify function

1. Special keys: (1) Whether to support the Tab key (2) Whether to support the Enter key

2. Prompt information: (1) Is there any error message in places that do not meet the requirements

3. Uniqueness: the field is unique, whether it can be added repeatedly, whether it can be modified to an existing field after adding (the field includes case sensitivity and spaces before and after the input content, after saving, whether the data is actually inserted into the database, pay attention The correctness of the data after saving)

4. Data correctness:

(1) Modify each edit item on the edit page, click Save, check whether the save is successful, and check whether the data to be associated has been updated.

(2) Check required items)

(3) When editing, pay attention to the length limit of the editing item, sometimes when adding, but not when editing (pay attention to whether the adding and modifying rules are consistent)

(4) When submitting data, click multiple times in a row to check whether the system will continuously add several pieces of the same data or report an error.

4. Delete function

1. Special keys: (1) Whether to support the Tab key (2) Whether to support the Enter key

2. Prompt information:

(1) Do not select any information, directly click the delete button, is there a prompt

(2) When deleting a piece of information, there should be a confirmation prompt

3. Data realization:

(1) When deleting a record, can it be deleted successfully?

(2) If the system supports batch deletion, pay attention to whether the deleted information is correct

(3) When deleting data, pay attention to whether the data on the corresponding query page is updated in time

(4) If the deleted data is associated with other business data, attention should be paid to its association

5. Upload picture function test

(1) The file type is correct and the size is appropriate, check whether the upload is successful

(2) The file type is correct, but the size is inappropriate, check if a prompt is given

(3) The file type is wrong and the size is appropriate, check if a prompt is given

(4) The size of the file type is appropriate, manually enter the address of the existing picture to upload

(5) The type and size of the file are suitable, input the address of the non-existing image to upload

(6) Click upload directly without selecting a file, and check if a prompt is given

(7) Select different files multiple times in a row to check whether the last selected file is uploaded

(8) File name verification, file name content (such as special characters, mixed case, numbers, Chinese characters), file name length

(9) The file name suffix is ​​capitalized, whether to process it

(10) Whether to control batch uploads with a limit on the number of pictures

(11) How to deal with pictures that failed to be transferred during the batch upload process, whether to delete them directly or prompt upload failure

(12) Select some special pictures for pictures, and design pictures with high resolution or too small

6. Query result list

(1) Whether the list and column width are reasonable

(2) The list data is too wide to provide horizontal scrolling

(3) Does the column name of the list correspond to the content

(4) Whether the column name of each column in the list is clearly described

(5) Whether the list displays unnecessary columns

Seven, return key check

1. A record that has been successfully submitted, it will be submitted after returning, whether it has been processed

2. Check the use of the return key multiple times. Where there is a return key, return to the original page multiple times to see if there is an error

Eight, enter key check

After entering the content, press the Enter key directly, how will the system respond, and whether it will report an error

9. Refresh key check

On the web page, use F5 to check the system response, whether there is an error or exception. (For example: switch to a non-default tab, then refresh the page, the page will switch to the default tab, but the content under the tab is still the content of the previous tab)

For pages with added statistical functions, whether to refresh will increase the number of statistics. (such as page views, reading volume, etc.)

10. Direct URL link check (hotlink problem)

In the web system, directly enter the URL address of each functional page in the address bar to see how the system handles it, whether it can be directly linked to view (anonymous view), whether there is permission control, whether to execute directly, and return the corresponding result page.

11. Concurrency issues

1. Operation by the same user: The same user logs in to two browsers respectively. After submitting in one browser, whether the submission can still be successful in the other browser, whether there is permission control, and whether there are reasonable prompts (such as status changes, etc.).

2. Whether there are reasonable prompts when different user operations are submitted out of order.

12. Business process testing

The business process generally involves the data of multiple modules, so when testing the business process, first of all, it is necessary to ensure the correctness of the function of a single module, and secondly, it is necessary to test the data transmitted between each module, which is often prone to problems When testing, different data must be designed for testing.

13. Interface and Usability Testing

Remarks: The interface is generally tested by the UI, and some special processes need to be given pages or data by the test, so that the UI can confirm whether it conforms to the original design concept. It should be noted that the front end often cannot grasp certain line spacing, fonts and Hover effects well.

1. Style. Style. Whether the color is coordinated

2. Whether the interface layout is neat and coordinated

3. Whether the interface operation and title description are appropriate

4. Whether the operation conforms to people's routine habits

5. Whether the controls in the interface are aligned

6. Whether the date control can be edited

7. For relatively long text, does the text box provide an automatic vertical scroll bar?

8. Whether the Tab key is supported, and whether the jump order is organized

9. When using the scroll bar to move the page, whether the controls on the page are displayed normally

10. Whether there are redundant buttons or labels on the page

11. When performing risky operations, is there a confirmation prompt, such as deletion, removal, and logout confirmation

12. Page resolution check, browse the system under various resolutions to check the friendliness of the system interface

Finally:  I have compiled a complete set of software testing learning tutorials for you, and friends can get it for free if they need it 【保证100%免费】

Information acquisition method:
This document and video information should be the most comprehensive and complete preparation warehouse for friends who want to engage in [software testing]. This warehouse has also accompanied tens of thousands of test engineers through the most difficult journey. Hope Can help you too! All of the above can be shared, click the small card below to enter the group to receive.

Guess you like

Origin blog.csdn.net/NHB456789/article/details/131188444