Form test web site, search queries test, remove the test database test knowledge points

purpose

  • 1. Learn how to start testing web sites
  • 2, web functional testing of thinking, does not appear possible leakage test false positive

First, what is web testing?

  • BS architecture-based software product testing, it is a popular point of web site testing

1, test form

  • Input box
    • ----- length, data type (Chinese, English, numbers, letters), required, repeat (uniqueness), spaces, and some business-related constraints
  • Drop-down box
    • Common operations service selected; ----- default value, data integrity / validity, the first / last / a selected intermediate (boundary value), manual input value fuzzy matches linkage selected
  • Radio
    • By default, Required (choose, do not choose)
  • Multiple choice
    • By default, single choice, multiple-choice combination, Select All, General Options
  • Images Excel, TXT and other file upload (front, abnormal)
    • ----- size, size (in pixels) format, the number of rules to verify the contents of the file (a sheet, a plurality of sheet, etc., is empty, length, type, etc.)
  • Form submit button
    • ----- support carriage return / click, click again quickly whether to repeat the form is submitted, network outages (weak network) to submit, if prompted after submission, your submission is encrypted, whether the author do check control authority, multiplayer scenario testing (performance) for the simultaneous operation of the form

2, search test

  • Search condition typically two cases: the input box, time frame, drop-down box
  1. Query any single condition: fuzzy search, long search, matching condition is not present, empty - neck surface treatment
  2. Any combination of two queries: ensure the correctness of any combination of the two query all combinations
  3. Three combinations of query (N-1 combinations queries, N = the number of the search condition): no need to test all combinations of three level combination.
  4. Inquiries combination of conditions: to ensure the correctness of the greatest combinations.
  5. The default search query conditions.
  6. Select condition combination inquiry focused on demand or business rules

Time Search box (Reporting data validation)

  1. = Start time end time, the start time <end time (Kuayue, New Year's Eve) ---- need business operations, database operations, manufacturing data call interface
  2. Start more than / less than the current time, enter only the start time / end time, start / end time is not input
  3. End time is before start time
  4. Manual input, time format; default time

Page controls

  1. First, Previous, Next, pp.
  2. The total number of pages, current page
  3. Jump specified page

Other functions: reset, a fixed table head away searching, sorting,

3, delete the test

  1. Did not select the data, click Remove
  2. Select a record and click Remove
  3. After deleting a record and click Add
  4. Continuous delete multiple products selected batch delete
  5. Choose Select All, click Remove
  6. To delete an association of data
  7. Delete all data manipulation, pay attention to the corresponding page query the data and associated interfaces, whether the database up to date

4, database testing

  • In Web application technologies, a database is a "warehouse", we conduct any operation functional tests can be traced back to go for additions and deletions to change search database.
  • Therefore, the actual database testing is done by means of testing discussed before, but the focus is on changes in database form and field values.

1, the database script execution --- database tables to add, modify normal. Build a project environment, initialize the database, library, library clean

2, page form is submitted, modify, query, delete - the database table information is normal ----- all interfaces can confirm, can not confirm the database query

 

******* Please respect the original, as to reprint, please indicate the source: Reprinted from: https://www.cnblogs.com/shouhu/ , thank you! ! ******* 

Guess you like

Origin www.cnblogs.com/shouhu/p/12381790.html