Chiefly condition combination inquiry] test case design

First, assume the query factor: A, B, C, D, E (+ dropdown box)

  1, a single query: A; B; C; D; E

  - ensure the correctness of a separate inquiry, which is the most basic.

  2, a combination of two queries: AB; AC; AD; AE; BC; BD; BE; CD; CE; DE.

  - to ensure the correctness of a combination of two queries, which ensures that no interaction between any two.

  3, a combination of three inquiries: ABC; CDE

  - to ensure the correctness of the three combinations; because we have to ensure that the combination of two separate inquiries and correctness, there is no need to test all combinations of three-level combination .

  4, five combinations query: ABCDE

  - ensure the correctness of the greatest combinations. 

  If the input conditions to achieve more, consider the following method

  1. A single traversal conditions

  2. By default query

  3. Control combined query (combination of two, three combinations, five combinations), a combination of techniques exist query, you can view the query form corresponding to the background of these data is not the same table, you can put different data fields in a table a combination of queries, especially considering cross-form query

  4. Full query condition combination

       5. Select the focus condition combination query on demand or business rules

Second, assuming the input condition comprising: input box

Conditions for entering a query, the first conditional input box "input validation" (can be placed in a single condition for verification)

Normal input, check the query results;

Abnormal input, check the query results; such as: whitespace characters, illegal characters, etc.

Third, check the query results

    1. When the query success or failure, the system should be given the necessary information tips

     2. All query results, must be arranged in a certain order, or may be arranged in accordance with the ID name

     3. Paging operations

     4.UI check and so on

 

Guess you like

Origin blog.csdn.net/qq_39247153/article/details/88553676