Site Test Point Collation

Source: Internet
Author: User

First, look for requirements description, website design and other related documents, analysis of testing requirements.

Develop test plan, determine test scope and test strategy, generally include the following parts: functional testing; interface testing; performance testing; database testing; security testing; compatibility testing

To design a test case:

Functional Testing :

One, input box

1, Character type input box:

(1) Character type input box: English full-width, English half-width, number, empty or space, special characters "~! @#¥%......&*? []{} " pay special attention to single quotes and & symbols . When you prevent direct input of special characters, use the Paste, copy function to try the input.

(2) length check: Minimum length, maximum length, minimum length-1, Maximum length + 1, input extra-Long value for example , copy the entire article past.

(3) blank check: There are spaces between the characters entered, there are spaces before the characters, there are spaces after the characters, and there are spaces before and after the characters.

(4) Multi-line text box input:

Allow carriage return line, save and then display can save the input format, only enter the carriage return line, check whether the correct saving (if possible, check the saved results, if not, see if there is a normal prompt)

(5) Security check: Enter a special string (null,null,javascript,<script>,</script>,<title>

2, Numeric input box:

(1) boundary value: Max, MIN, max + 1, min-1

(2) Digits: Minimum, maximum, minimum-1 maximum digits + 1, input extra-long value, input whole number

(3) outliers, special characters: Enter Blank (NULL), Space, or "[Email protected]#$%^&* () _+{}| []\: ' <>?; ',./?;: ' = ' characters that can cause system errors, prohibit direct input of special characters, try to use a paste copy to see if it can be submitted properly, special features in Word, copy to input box via clipboard, page break, section break similar to the index of the formula, Special symbols for numerical values such as ∑,㏒,㏑,∏,+,- ,

input negative integer negative decimal score Enter letters or kanji decimal (in the case of decimal front 0-point, multiple decimal places), 0 such as 01, 02 scientific notation supported 1.0e2 full-width digit and half-width number numbers and letters mixed 16, 8 binary, currency input (several decimal places allowed),

can not be entered directly on the copy, to see if the data test error?

3. Date Type input box:

(1) legality check:

Month input [1, 3, 5, 7, 8, 10, 12], day input [0][31][32]

Month input [4, 6, 9, 11], day input [0][30][31]

Enter non-leap year, month input [2], date input [0][28, 29]

enter leap year, month input [2] , Date Input [0] [29, 30]

Month input [0, 13]

(2) Outliers, special characters: input blank or NULL, input ~! @#¥%......&* () {}[] and other characters that may cause system errors

can not directly input, copy, whether the data test error?

4, information duplication : The name is the only information, Enter the duplicate name , see the system will not error , The name of the name includes whether it is case sensitive, and whether the system makes proper processing by entering a space before and after the input.

Second, search function

If the query condition is an input box, the reference input box corresponds to the type of Test Method

1. Function Realization:

(1) If a fuzzy query is supported, search for any character in the name to find out

(2) whether the long name can be found

(3) Enter Other keywords to see if the query results are correct

(4) when the user makes a query operation, the general situation after submission is not to empty the query conditions unless the requirements are specified.

2. Combination test:

(1) Choose between different query criteria, whether there is a page error (radio box and multi box is the most error prone)

For example, the query condition has a checkbox, you can choose gender for male or female, change sex don't look for the correct query results

like dropdown list, switching back and forth

(2) When testing multiple query conditions, we should pay attention to the combination test of the query conditions , possibly different combinations of tests will be error.

Third, add, modify the function

1 Special key: (1) Whether the TAB key (2) supports enter

2 Data correctness:

(1) Edit the editing page of each edit item to modify, click Save, whether can save success, check whether the associated data is updated , such as adding changes, especially to pay attention to the query page data is updated timely .

(2) When editing, note the length limit of the edit item, sometimes at the time of adding, but not when editing ( note To add and modify the rule is consistent )

(3) Uniqueness: The field is unique, whether it can be added again, whether it can be modified as an existing field (the field includes case sensitivity and input space before and after the input, after saving, the data is really inserted into the database, note the correctness of the data after saving)

can be added continuously, the addition of a few data is the same data .

(4) If there is no record in the result list or a record is selected, click the Modify button, the system will throw an exception.

(5) for the image upload function of the edit box, if you do not upload pictures, see the editing page when the default image is displayed, if you upload a picture, see if it is displayed as uploading pictures

Site Test Point Collation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.