当前位置:网站首页>[daily question series]: how to test web forms?

[daily question series]: how to test web forms?

2022-06-11 15:44:00 Little brother said test

Facing such a problem , How to answer ? Kaige suggests you answer from the following aspects :

One 、 First of all, make it clear web What are the form controls in the page .

HTML Label ,input label ,select label ,form label ,button Tags are special form related tags . So for different labels and controls , The test points are also different .

Two 、 Secondly, explain that in the projects you have done , What form controls are there .

for instance , Make it clear , Various text boxes included in the project 、 Button .

3、 ... and , Specify the test points of each form and form control .

1、 Common input text box with name, etc .

Test points include : Text type 、 length 、 Maximum length value 、 Minimum length value .

2、 Common password box .

Test points include : The password box does not display detailed characters by default , The second is the text type 、 length 、 Maximum length value 、 Minimum length value .

3、 Phone number text box

  Test points include : Whether it conforms to the rules of mobile phone number , Too long 、 Too short 、 Illegal characters, etc .

4、 Verification code frame .

Test points include : If the timeout , Is it exactly the same .

5、 Check box .

Test points include : Whether you can select , Can I uncheck .

6、 Radio button group .

Test points include : Can I select ; Is there a default option , Whether you can only choose one .

7、 The drop-down list .

Test points include : Whether you can choose , Whether it can drop-down display , Test the first one separately 、 the last one 、 Any one in the middle .

8、 Email input box .

Test points include : Mailbox message length , Does it include @, Whether the period is included (.),

9、 Date of birth checkbox .

Test points include : The date cannot be later than the current date , For example, today is 2022 year 2 month 28 Japan , The date of birth cannot be 2022 year 3 month 1 Japan . The second is the range of months 、 The range of each month's date .

10、 File upload control .

  Test points include : The size of the file meets the requirements , The format of the document meets the requirements , If the requirements are not met, there shall be an error prompt .

11、 Amount input box .

Test points include : The maximum value that can be entered does not exceed the account balance , The minimum value cannot be less than 0.01, You cannot enter other non numeric characters .

12、 ID number input .

Test points include : ID card length , Types of characters that can be entered , Is there any error prompt when the input is unqualified .

……

In fact, pages or any system can input a lot of content and types , Because each system has its own specific specifications and requirements . Therefore, there will be various differences when processing data . As long as we grasp certain rules , Carefully analyze the business requirements , We can solve this problem very well . Sometimes it's not because of the problem itself , Just because there is no good summary , Otherwise, every little friend is a very good existence .

Interview series , You are welcome to provide more questions , I will make a careful arrangement , Then I will tell you the reasonable and scientific answers , Thank you for your love and attention .

END

If my blog helps you 、 If you like my blog content , please “ give the thumbs-up ” “ Comment on ” “ Collection ” One button, three links !


Finally, basic knowledge 、Linux necessary 、Shell、 The principles of the Internet 、Mysql database 、 Special topic of bag capturing tools 、 Interface testing tool 、 Test advanced -Python Programming 、Web automated testing 、APP automated testing 、 Interface automation testing 、 Testing advanced continuous integration 、 Test architecture development test framework 、 Performance testing 、 Safety testing and other supporting learning resources 【 free 】.

原网站

版权声明
本文为[Little brother said test]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203011949323764.html