Multi-tester Xiao Sir_Senior Gold Lecturer_Test Thinking of Test Theory (1.1)

Exercises to test thinking:
what is a test?
a. Verify the correctness of the software
b. Find software defects (software defects are called bugs)

Scenario: The software is tested, the problem that is tested is a bug, and the bug is developed and solved until it succeeds.
Insert picture description here

How to test?
Case: Give you a test for taking a water cup
(1) Requirement test: Instructions for manufacturing cups,
requirements, customers want to implement a function, and business writing what cup requirements do. , The requirements are ready, test the requirements
Scenario 1:
WeChat shoot function, shoot demand function, what kind of shoot is done, what zone is triggered, and what effect is to be achieved?

(2) Function test: whether it can be installed with water, whether it can be kept warm,
computer: function test verifies the various functions of the software to verify whether it meets the requirements of the customer.
Scenario 1: Function: send Moments, send red envelopes, voice chat, video chat , Express love package

(3) Interface test: the color of the water cup, the size of the water cup, the shape of the water cup, etc.
Computer: the appearance interface test is also called ui test

Test the user interface: the layout of the module, the overall style, whether the location of each control is reasonable, the convenience of the interface operation, the easy-to-understand navigation, the correctness of the interface text, the size of the text, the uniformity of the naming, the beautiful page, the picture and the text Combination etc.

Scene 1: Brand logo size:
Insert picture description here
Scene 2:
Insert picture description here
(4) Safety test: Whether the production materials are harmful to the human body

Software security testing: including Trojan horses, viruses, firewalls, data leaks, networks, and program security;
Definition: Security testing refers to the process of verifying the security level of an application and identifying potential security flaws.
Common vulnerabilities in scene apps:
(1) Sensitive information disclosure. QQ login is an inscription, and the password is encrypted (desensitization) Insert picture description here
(2) Permission service is enabled
(3) Backup function is turned on vulnerability
(4) SQL injection
(5) File upload and download vulnerability

(5) The
definition of the degree of damage caused by the reliability cup falling from a height : Reliability test is to evaluate the activities carried out to maintain the functional reliability of the product under all the expected environments during the specified life period, to (through the use of various A variety of environmental simulations such as high temperature, low temperature, high humidity environment, accelerated reaction product in the environment and other conditions to verify the reliable life of the product)
Scenario: a set of air conditioners up to 32, in high altitude or tens of degrees below zero environment, it The actual life span is less than the specified life span.

(6) Portability test Whether it can be
used normally in different places and different environments.
Computer: Whether the software can be transplanted to the specified hardware or software platform to run.
Scenario: The computer hardware structure is different: 8g memory, i3 processor equipment. Portability to 16g i5 processor devices, good portability

(7) Compatibility test can also support other liquids in addition to water.
Compatibility test refers to compatibility,
which refers to the compatibility test between the involved program and hardware software.
Platform compatibility: Android, ios
browser compatibility: Google, ie (8,9,10,11), Firefox, 360 browser
resolution compatibility
Case 1: Compatibility of personal credit page
url: https://ipcrs.pbccrc.org.cn/
Insert picture description here
Insert picture description here
Case 2:
Word document The format displayed on the computer and mobile phone will change; the format of
pdf displayed on the computer and mobile phone will not change.

(8) Ease of use, heat insulation, protective cover, hand-held
It refers to whether it is easy to use, it can be understood as easy to learn, easy to operate.
Nielsen's ten laws
For example: Scene 1: Remote control itself is easy to use
Scene 2: On the remote control There are many buttons, and the button can mark text (the text of the mark is easy to use)

Nielsen’s Ten Principles were published by Jakob Nielsen, a PhD in Human-Computer Interaction, who graduated from Copenhagen. Jakob Nielsen has done a lot of research on human-computer interaction. He puts forward the ten principles of usability to evaluate the quality of user experience. Every product designer You can conduct self-examination based on these ten principles.
(1) Visibility of system status
keeps the state of the interface visible, changes visible, and content visible. Let users know what happened and give appropriate feedback within the appropriate time. For example, any user operation on the web page, whether it is clicking, scrolling or pressing the keyboard, the page should give immediate feedback.
(2) The principle of “Match between system and the real world”
uses the user’s language, words, phrases, and concepts familiar to the user instead of system terminology. The functional operation conforms to the user's usage scenario.
(3) User control and freedom.
Users often choose system functions incorrectly and need to clearly identify the "exit" that leaves this. For example, support for undo and redo functions.
(4) Consistency and standards
follow the conventions of the platform. That is, the same terms, functions, and operations are consistent.
(5) Error prevention
is designed to prevent such problems from happening, and remind users when they may make mistakes, such as deleting the possible consequences.
(6) Recognition rather than recall (Recognition rather than recall)
minimizes the user's memory load on the operation target. Actions and options should be visible. Users do not have to remember information from one page to another. Instructions for use of the system should be visible or easily accessible.
(7) The principle of flexibility and efficiency of use
allows users to perform frequent operations. More convenient and flexible code and feedback.
(8) Aesthetic and minimalist design principles (Aesthetic and minimalist design)
should not contain insignificant information.
(9) The principle of fault tolerance (Help users recognize, diagnose, and recover from errors)
Error messages should be expressed in words (do not use codes), reflect the problem more accurately, and propose a constructive solution. For example, 404.
(10) The principle of humanized help (Help and documentation)
is necessary to provide help and documentation. Any information should be easy to search, focus on the user’s task, and list specific steps to proceed. The best way to help reminders is: 1. No reminder; 2. One-time reminder; 3. Resident reminder; 4. Help document.

(9) Stress test (break from the test, break through the critical point, and view the maximum value that the system can withstand)
Stress test is one of the performance tests, software high-load test The test in the
software exceeds the scope of the software requirements and exceeds the critical point.
Case 1: A water cup Can hold 550ml water, use more than 550ml water to test 560ml test, test and check the state pressure of the water cup

(10) Load test The test in the
software is slowly approaching the software requirement range, approaching the critical point.
Case 1: A water cup can hold 550ml water, slowly approaching 550ml water test 400ml500ml, 520ml, 550ml test, test to check the state pressure of the water cup

Interview questions:
1. Give you a QR code test?
2. What are the test points of the elevator?
3. How to test the Taobao shopping cart?
4. How to test the WeChat Moments?
5. Test points for WeChat likes?

Guess you like

Origin blog.csdn.net/m0_47403059/article/details/115276861