This study contains error input analysis for black box testing:
In a black box test, the range type of the input data can cause errors that cannot be parsed by the program, so it is important to consider a variety of input methods in the design of the test case.
The common input data are:
1 Number: 1234567 ...
2 Letters: ABCdef ... ABCDEF ....
3 Symbols:! @#¥% ...
4 characters: Ah, the amount of ...
These as well as their mixed input test instances.
If we enter an error, then there are possible scenarios:
1 The value of the input number is too large, out of range (such as 2 of 16 times)
2 input illegal, limited to the number of input letters, etc.
Therefore, in the design of the test case, to have a range of valid equivalence classes and out-of-range instances to determine
Example
The telephone number of the city is made up of two parts. The names and contents of these two parts are:
1) Area code: three-digit or four-digit number starting with 0 (including 0);
2) Telephone Number: seven-bit or eight-digit number starting with non-0, non-1.
It is assumed that the program being debugged will accept all telephone numbers that meet the above requirements and reject all non-conforming numbers.
The test case analysis here can be used to design test cases in the appropriate way
Legal Use Cases
012 1234567
0123 1234567
012 12345678
0123 12345678
Illegal use cases
01234 12345678
01 123456
And
ABC ABCDEFG
Or! @#¥%......&* ()
Analysis of input range through illegal test case design
Error input judgment and instance design of "Software Test" black box test