Everybody knows, softwareTestTesting Software is limited, but it is impossible to perform sufficient tests when the project schedule is tight and testers and time is limited! Therefore, how to test more effectively with limited resources and time has become an important issue for us to think about. The following example describes how to use a mobile phone to describe the functions of a mobile phone!
Example 1.Call Answering function test
In actual tests, testers may perform thousands of tests to ensure that the phone call answering function is stable and reliable.
Some testers may use the same method for the verification test of this function. For example, they call for the same call and receive the call immediately. This is repeated and hundreds of tests are performed to check the reliability of the software! During the call, the call method is also the same. The call is repeated several hundred times!
Analysis:The above test method is acceptable, but is it highly efficient? Can you find more problems? The answer is no!
Test ideas:
To solve this problem, be sure to expand your own ideas and conduct the test flexibly, and strive for the efficiency and breadth of the test!
For incoming calls,Tests can be performed from the following perspectives:
First, when answering the call, you can pay attention to the answer at different time points. For example, if you just receive the call when the bell rings, you will receive the call after a period of time! This may cause more problems!
Second, when a call is made, the phone can be powered off in different statuses, such as menu browsing and short message viewing on the phone, and power off in different statuses;
Third, pay attention to the call interval, such as power-off when the interval is short and power-off when the interval is short;
Fourth, pay attention to incoming calls, such as incoming calls from contacts and non-current contacts in the phone book; incoming calls from landlines, incoming calls from mobile phones, and incoming calls from PHS;
Fifth, power-off in different scenarios, such as mute, conference, and standard modes.
Sixth, different answering methods, such as pressing any key to answer or answering the answer key.
For calls,When making a call, consider the following:
First, enter a number to make a call;
2. Select a contact call from the phone book;
Third, select a contact from the call history to make a call;
Fourth, extract the number from the short message for calling.
In addition, you can use a testing machine to test the telephone call function. In this way, the test coverage rate of a group of telephone call functions is improved a lot!
Example 2. SMS viewing +Incoming call
This is also the most basic test, multi-task test.
Analysis:
A call can be a fixed phone, a PHS phone, or a mobile phone. A call can be a contact in the phone book or a strange call. In this regard, if we can test every situation, of course, it would be better to test it. But if time is too short to test one by one, how should we test it?
Test ideas:
This item is mainly about interference between the short message module and the telephone module. During the test, we can select the contact in the phone book to call for testing. This is because during the call, there is an additional query and call function for the phone book module for incoming calls. If there is no problem in this case, there will be no problem when the phone number is not in the phone book, correspondingly, we can perform one less test.
Example 3.Video +Incoming call
Nowadays, mobile phones are becoming more and more powerful, and there are not a few mobile phones with video functions. Therefore, it is essential to perform an electric test during video recording. we can consider this test from the following perspectives.
Test ideas:
During video recording, the contacts in the phone book call → answer the call → end the call → view and play the video → call during video playback → answer and call → end the call
We expanded this item during the test, and the blue part is the extended test item. In this way, the video can be replayed when the video is played, which improves the efficiency and detects the interference of the video when the video is powered.
Example 4.Text message editing +Incoming call
Analysis: there are many ways to edit text messages. You can directly enter the text message menu for editing, enter the text message editing status when you reply to the short message, and select the corresponding menu from the contact in the phone book to enter the text message editing.
Test ideas:
During our test, this test mainly tests the impact of incoming calls on the text message editing module. During the test, you can directly choose to reply to the text message to enter the text message editing module. The incoming call is the contact in the phone book.
Example 5Screen Saver and LOCK keyboard Test
Basically, screen saver and keyboard lock functions are available. Since these functions are available, you need to test these functions. How should we test them?
Separate tests for each test! First, perform a series of tests under the screen saver, such as the screen saver start time, screen saver display interface, screen saver power down, and receiving short messages, it takes about half a day to complete a test. After the test, test the function of locking the keyboard, such as the keyboard start time, interface prompt information, power-off of the keyboard lock, and text message. It takes about half a day to complete all tests.
In fact, we can think about whether these two items can be combined and tested together?
The answer is yes!
A large part of the two items can be combined for testing! That is, when both screen saver and keyboard lock are started at the same time, the test is normal if both are started at the same time.WorkSo we can think that the function is normal when the other party is disabled! One thing we need to understand: the more complicated the situation is, the more likely the mobile phone is to have problems!
In fact, we can further expand it. At the same time, we start LCD backlight and other items to combine them for testing! In this case, not only the test content is added per unit time, but also some problems in the software are more likely to be detected. In addition, given that the LOCK keyboard, screen saver, LCD backlight, and so on all have different start times, should we test all these arrangement combinations? In this case, you are waiting to be exhausted or fired by the boss!Note the test equivalence here.
Too much. I will not go further!
Summary:
In terms of improving the test efficiency, we must understand which tests can be combined for testing, which items are likely to have problems, and where they are important!
How to discover more problems and test more in a limited time is worth further consideration in the face of a shortage of human resources! At the macro level, it is a strategic issue to determine which tests are post-tested and what is unexpected in a single version, how to discover the problem of a test item within a limited time is a tactical problem. How can we effectively cooperate with strategies and tactics? How to test more effectively? This is what every professional tester, especially the test Manager, should think about!