Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Test points that the query function is mainly concerned with

Shulou Source: shulou.com Published: 2022-06-03 05:29:57 10月03日 Update

I. Test method

The query type includes four scenarios: single query, combined query, input box input query and time control query:

1. Function realization

(1) support fuzzy query search

(2) time control query

(3) default empty query

(4) clear the input box record by default after query (according to business requirements)

(5) there is no matching conditional query in the input system.

2. Combined query

(1) single query condition. (query results and error prompts for switching between single conditional query and single query and combined query)

(2) combine the query conditions. (orthogonal test)

3. Time control query

Start time, end time

II. Main test points

(1) default query

Interface UI normalization (input conditions and output results page)

Display data that meet the criteria

Whether the proofreading data matches the page number, the total number, and the number of data items per page

(2) normal query function

Enter the query conditions that meet the rules, and the query results are verified.

Supported text field conditions such as input character type, character length, including spaces, are verified one by one.

Reset condition secondary query

(3) Boundary value query

(equivalence class, boundary value synthesis-character length)

(4) abnormal query and related hints

Illegal character control validates one by one (does not comply with input rules)

The character length is too long and too short (does not conform to the input rules)

Prompt message for error query

(5) Fuzzy query

Single character, multiple characters, special characters, English case search query

Ultra-long character query

(6) whether to empty the query record after query

(7) empty query

The query result is empty or all data.

(8) combined query

Query and query result verification for a variety of different combination conditions.

An error prompt that the combined query does not meet the requirements.

(9) time Enquiry

Logical judgment of start time and end time

Verification of query results in start time and end time

Check of boundary value of start and stop time

Big month, small month, leap month, cross-year, cross-month, cross-day query, date overflow query

Query Control of start and end time overflow

(10) Database verification

Query conditions, output results, and database query verification must be consistent.

Tags: Query time condition character input result combination validation data single hint control rule boundary error length start function test database Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Linux Microsoft Shulou Information vpn