There are a lot of people who study software testing often ask a question, what is the test to learn? As if the test is to take the mouse point point, very simple, no technical content ah. Follow the small series together to learn how to do a simple login function test trip!
Tools/Materials
- Test theory knowledge
- Database knowledge
- Network knowledge
Method/Step
Basic Performance Verification
1. If the user is not registered, prompt to register and then login
2. Enter the correct user name and password to verify successful login
3. Enter a null value, an incorrect user name or password, and whether there is a corresponding login failure prompt
Interface Testing
1. Is the layout reasonable and the controls are aligned
2. Whether the height of the control meets the requirements
3. Whether the design style of the interface is consistent with the design style of the UI
4. The text in the interface is simple and easy to understand, no typos
Performance testing
1. Opening the login page takes a few seconds (3-5-8 principle)
2. Enter the system after entering the correct username and password, no more than 5 seconds
Security testing
1. User name password is encrypted
2. Whether the input box masks SQL injection attacks
3. Does the input box prohibit input scripts?
4. Whether the number of incorrect logins is prohibited
5. Whether to allow one user multi-terminal login
6. Do you support single sign-on?
Usability testing
Support for keyboard Shortcuts Action tab, enter, backspace (browser back)
Compatibility test
1. Mainstream browsers (ie6,7,8,9, Firefox, Chrome, Safari, etc.)
2. Different platforms, such as Windows, MAC
3. On mobile devices, such as iphone, Andriod
4. Different resolutions
can display normally
Localization testing
Whether the page is displayed correctly in different locales (Chinese and English)
Whether to provide disabled users with adequate accessibility (support font magnification, zoom out)
END
Precautions
- This ignore verification code verification
- Mainly for black box testing
- Primarily for web testing
How to test the login page