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.
Purpose:
Is the interviewer familiar with various testing methods,
Is there a wealth of Web Testing experience,
Do you know about web development,
And test case design capabilities
This question is still quite difficult. Generally, it is difficult for people to answer it well.
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 will be prompted.
3. Can I jump to the correct page after successful logon?
4. What should I do if the user name and password are too short or too long?
5. user name and password, with special characters and other non-English characters
6. Remember the user name function 7. The password function cannot be recorded 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 login page
2. Enter the correct user name and password, and log on to the new page, no more than 5 seconds
Security Test)
1. Check whether the cookie generated after successful logon 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 rather than simply 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, enter scripts 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 I log on?
Compatibility Test)
1. Whether the display is normal in mainstream browsers (ie, 6, 7, 8, 9, Firefox, chrome, Safari, etc)
2. Can different platforms work normally, such as Windows and Mac?
3. Is the mobile device working properly, such as iPhone or android?
4. Different Resolutions
Common Software Test Questions