In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
Text box is the most common software testing control. I sort out the data of my daily work on the Internet and summarize the text box test.
Normal character
Required check:
a. Required entry is not entered-the program prompts for errors and prompts are friendly
b. Enter a space for the required entry and no other characters are entered-the program prompts for errors and prompts are friendly
Field uniqueness check: (not all fields do this check, depending on the actual situation)
a. Enter duplicate field values when adding-the program prompts are repeated and friendly.
b. The duplicate fields entered during modification are-- the program prompts are repeated and friendly.
Default check: (not all input boxes are required to do this check, depending on the actual situation of the project)
a. The default value is the value in the fixed value or database, the value in the or configuration file
b. Enter the value in the input box, whether the default value disappears
c. Enter a value in the input box, click the refresh button, and the interface displays the default value or the entered value.
Operation restrictions:
a. The input box does not restrict copy-paste undo
b. The input box restricts copy-paste undo
Character length check:
a. Enter [minimum number of characters]-- OK
b. Enter [minimum characters + 1]-- OK
c. Enter [minimum number of characters-1]-the program prompts an error and is friendly.
d. Enter [maximum number of characters]-- OK
e. Enter [maximum number of characters]-- OK
f. Enter [maximum number of characters + 1]-the program prompts for errors and friendly prompts
Space check:
a. The input string contains spaces in the middle-- saved successfully with spaces
b. The input string contains spaces at the beginning and end-the spaces are automatically filtered and saved successfully
Special character check:
a. If the input box forbids the input of certain characters, check whether the input is restricted successfully and prompt whether it is friendly.
b. Enter Chinese, English, numbers, underscores, single quotes, parentheses (! ~ @ # $^ & * () _ + {} |: "? /.;'[]\ = -'¥. ()--:"?.,.,
Special code check
a. Enter the html code: for example:
Alert (/ xss/)-the code must be displayed as text.
b. Enter the javascript code: for example;-- the code must be displayed as text.
c. Enter database code: NULL, null, delete
Multiline text box check
a. Is it allowed to enter and change lines?
b. Save and then display the format of the input
c. Only enter enter line feed to check whether it can be saved correctly, if you can view the save result, if you can't see if there is a correct prompt.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.