Note: Excerpted from "Software Testing Technology Daquan"
9.3.4 Key Points of mobile app TestingIn recent years, mobile phone-related technologies have continued to develop, from luxury goods more than 10 years ago to mass consumer goods that are now almost staffed. It is accompanied by the rapid development of mobile app. Mobile app is also evolving with the popularity of mobile phones, bringing testers a brand new field of testing. 1.1. Features of mobile app general mobile apps have the following features: Q screen is small. The display area of mobile phones is much smaller than that of PCs. It is not easy to show the necessary information to the user in the palm area on the mobile phone application interface. Q memory is low, and computing speed is not as fast as PC. Mobile Phone applications can use a relatively small amount of memory, and the program runs faster than the PC computer. Q The operations on mobile apps mainly depend on thumb clicks. Mobile phones do not have the same big keyboard and mouse as PC computers, and only have small-area buttons. Users are much slower in entering and processing information, and there is no PC Computer for convenience. 1.2. The main points of mobile app testing are the limitations of mobile apps and the features of mobile apps. The following points need to be taken into account when testing mobile apps: Q because the display area of the mobile phone is small, there cannot be too many presentation effects. Therefore, the design should be simplified without losing the expression ability. Testers should pay attention to the beautiful UI and simplified testing. In addition, the screen sizes of mobile phones of different models are inconsistent, and the Set shapes are inconsistent. Therefore, you must pay attention to the adaptive problem of the test image and the layout of the interface elements. Q Mobile Phone operations mainly rely on the thumb. Therefore, the interaction process cannot be too complex and there are not too many interaction steps. Try to design multiple shortcuts. Testers should pay attention to usability and user experience testing. Q different models of mobile phones support different image formats, sound formats, and animation formats. You need to select the most common format as possible or configure and select different models. Testers need to pay attention to the compatibility test. Q due to memory restrictions, some mobile phone applications use C ++ programming languages, which may cause memory leakage and out-of-bounds issues. Therefore, you need to pay attention to this test. Q Some mobile phone applications must meet the requirements of specific standards and specifications. For example, brew mobile applications must meet the standards defined by Qualcomm. Therefore, the tester needs to perform a detailed inspection on the mobile phone application against the standard specification. Q. Are the mobile phone applications correctly handled when an unexpected situation occurs, such as power interruption, restart, or network disconnection. That is, the so-called "brute-force testing ". Q because there are minor differences between different types of mobile phones on the same platform, do not just test the mobile phone simulator, but also put it on a real mobile phone for testing.