Full-Empty test

xiaoxiao2021-03-06  105

Full space test - Fe test

Context:

There are many form submission actions in the web test, including adding records, modifying records, and pressing conditional query records. The application should make the necessary checks for the data submitted by the user to ensure that the data is logical and stored in the database, ensuring the stability of the system and the consistency of business data.

According to experience, the mistakes made by developers are basically very fixed. This method is very simple, mainly the boundary value check of input data, and can check the error in 60% of the non-international demand program.

Test Range:

You can check the WEB program, the client's script check; you can check the server-side checks for submitted data; you can check if the web program and database data interface is correct.

Test steps:

Full test:

1. Open the interface to be tested.

2. Enter the maximum number of Chinese characters in all input boxes, in order to facilitate the authentication of the data in the database, you can bind the prompt Chinese characters in front of the input box into the input box. Figure:

3. Select OK. According to the system prompt, reduce the scope of data to determine the maximum boundary value of the interface input. Figure:

4. Until the system accepts data, verify that the data is properly submitted by querying the database.

Empty test: It is right to face with full test.

1. Try to clear all the data on the interface to determine the interface input minimum boundary value. Figure:

2. Select Submit to gradually add the minimum input condition based on the system prompt, starting from the space.

3. Until the system accepts data, verify that the data is properly submitted by querying the database.

Note the points:

Full test:

1. Full test is to test the system's general boundaries when accepting data. (There is no factor in consideration of special characters)

2. It can be tested whether the database data range is consistent with the system data range. Including Chinese character strings, digital ranges, etc.

3. It is possible to observe whether the system is clear and consistent with the prompt of the system when processing an abnormal data.

4. Everything that is the name of the name should pay attention to the length (20 Chinese characters in the experience, 40 Chinese characters in the database).

5. Anyone should be determined if you can enter Chinese characters and other characters ((010) -84551166 turn 367), and the maximum length acceptable can be accepted.

6. You can use 999999999, or the -99999999 is used for boundary testing.

7. ABC @ 163 can be used in the form of an email to confirm.

8. Any drop-down menu is selected for the longest item.

9. Any ID number must enter an ID number with X-x-x ID, such as: 210152196390223012X

Empty test:

1. Empty test is to test the system's general boundaries when accepting data. (There is no factor in consideration of special characters)

2. You can test whether the database allows a string data that is 0.

3. It can be tested whether the WEB program is processed and verified for the interface default data.

4. It is possible to observe whether the system is clear and consistent with the prompt of the system when processing an abnormal data.

5. Anyone when the system is added, first in space instead of a general string. (Check the processing of the web program to string TRIM)

6. Any number that must be added can be used first, and then 0 or -0 will be used instead. 7. Any email address that must be added can be replaced with @.

8. Any drop-down menu, with empty items, preferred empty items, otherwise choose the shortest item.

转载请注明原文地址:https://www.9cbs.com/read-103298.html

New Post(0)