Software Test interview (2) how to test the webpage logon page

Source: Internet
Author: User

This interview question has been encountered many times and summarized again.

Specific Requirement: There is a login page with 2 textbox and a submit button on it. Please design more than 30 test cases for this page.

Objective: to check whether the interviewer is familiar with various testing methods, has rich Web Testing experience, has knowledge of web development, and has the ability to design test cases.

This question is still quite difficult. Generally, it is difficult for people to answer it well.

 

Reading directory

 

Function Test)
    1. Enter the correct user name and password, and click Submit to verify that the logon is successful.
    2. Enter the wrong user name or password, verify that the login will fail, and the corresponding error message is prompted.
    3. Can I jump to the correct page after logging on successfully?
    4. What should I do if the user name and password are too short or too long?
    5. Username and password, with special characters and other non-English characters
    6. Remember the user name Function
    7. The password cannot be logged after logon fails.
    8. There are spaces before and after the user name and password
    9. Whether the password is displayed as a star

 

Ui Test)
    1. Is the layout reasonable? Are two testboxes and one button aligned?
    2. Length and height of testbox and button combination requirements

 

Performance Test)
    1. It takes several seconds to open the logon page.
    2. Enter the correct user name and password, and log on to the new page, no more than 5 seconds

 

Security Test)
    1. Whether the cookie generated after successful login is HTTPOnly (otherwise it is easy to be stolen by scripts)
    2. Whether the user name and password are encrypted and sent to the Web server
    3. The user name and password should be verified on the server, not simply by using JavaScript on the client.
    4. The user name and password input box should block SQL injection attacks
    5. In the user name and password input box, you must disable script input to prevent XSS attacks)
    6. Limit on the number of wrong logins (preventing brute force cracking)

 

Availability Test)
    1. Can I use all the keyboard operations and have shortcut keys?
    2. Enter the user name, password, and press Enter. Can you log on?

 

Compatibility Test)
    1. Normal display of mainstream browsers (ie, 6, 7, 8, 9, Firefox, chrome, Safari, etc)
    2. Whether different platforms work normally, such as Windows and Mac
    3. Whether the mobile device works normally, such as iPhone or android
    4. Different Resolutions

 

Accessibility Test)

Software-assisted Function TestingYesTest whether the software provides adequate auxiliary functions to users with disabilities

    1. Whether the display is normal in high contrast (use by persons with poor eyesight)

 

 

 

 

 

 

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.