Testing Basics Android Application Testing Summary

Table of contents

start up:

Function introduction, guide map, flow prompt, etc.:

Permissions:

file error

Screen rotation:

flow:

Cache (/sdcard/data/com.your.package/cache/):

Normal interrupt:

Abnormal interruption:

user experience:

multi-language:

upgrade:

Apply external upgrades:

list:

Dual SIM:

network:

monkey test:

Performance Testing:


start up:

  1. Startup entry: normal startup on the desktop, startup from recent runs, startup from the list of all programs, quick startup from the lock screen
  2. Other entries: open the application from other programs, open the application from the outside as a file (if any)
  3. Return: Return to the application under test when returning from other programs. The application under test opens other applications and starts from the desktop icon. Cross-combination testing is required.
  4. Abnormal start: start after a crash, start after being forced to kill the process when writing a file, start after the network request does not receive a reply packet and force kill the process, start when the network times out (the start needs a timeout mechanism)

Function introduction, guide map, flow prompt, etc.:

1 When the new installation program is started for the first time, there will be some initialization, or pop-up box prompts, function introductions, when it is opened externally, such as a third-party open (generally not counted as the first start-up), start the program again to check the actions it should have Is there any.

Permissions:

1. When certain permissions are prohibited by security software or system, whether it can be used normally, the permissions that need attention: permissions such as microphone/camera/location/short message---_luguo 2 When doing
compatibility testing, special attention should be paid to permission management Stricter Rom, such as Meizu, the camera and other permissions are disabled by default.
3 When the third-party security software pops up to request forbidden permissions, after selecting, will it affect the normal process of the tested application?

file error

1 Use the wrong file type (but with the correct suffix name) to replace the file used by the application under test
2 If the file uploaded from the PC to the device by adb push has a Chinese name, a wrong file will be generated, and the application under test needs to adapt to this error condition

Screen rotation:

1 Confirm which interfaces need to allow horizontal screen or prohibit horizontal screen
2 Lock the screen to vertical screen or horizontal screen, jump in several interfaces, whether the interface is normal
3 When adapting to horizontal screen, whether the horizontal screen is adapted

flow:

1. Whether the traffic of the first app startup meets expectations. 2. When
there are many pictures on the main interface, has the balance between picture file size and display effect been reached?
package), showing the current network speed or progress, which is more friendly to users

Cache (/sdcard/data/com.your.package/cache/):

  1. After uninstalling, the cache will be deleted, whether there are files that should not be deleted (download files, user data)
  2. The cache is easy to be cleared by 360 Mobile Guard, Cheetah Cleaner, etc. You need to check whether there are suitable files in this folder

Normal interrupt:

  1. Perform lock screen operations on all interfaces, and observe whether it is running normally after unlocking
  2. Perform a long-term lock screen operation on all interfaces, and observe whether it is running normally after unlocking
  3. In all interfaces, and all processes, press the home button to switch to the background, and then check whether it is normal when switching back
  4. During all loading, press the back key
  5. During all loading, press the home button
  6. Try to press the back key multiple times when the interface switches animations
  7. Normal click action, try pressing twice quickly
  8. The rear camera and the front camera cannot be started at the same time, and the rear camera startup also includes turning on the flash (compatibility with flashlight apps)
  9. Check the timing of the keyboard unfolding and retracting, and test the combination of home, back, and lock screen
  10. After starting from the third party, press the home button to return to the desktop, and then open the application under test from the desktop to see if the display is correct (it should be determined whether to display the third-party startup interface or the normal startup interface of the program, the former such as WeChat, and the latter such as QQ)

Abnormal interruption:

  1. restart after power failure
  2. When the interface is crashed unexpectedly, can the interface be restarted and restored to the state before the crash
  3. After the call ends, return to the interface of the application under test
  4. In some special cases, after an incoming call, the mobile network will be cut off

user experience:

  1. Use the main functions of the application from the perspective of the most critical and unreasonable users
  2. Whether each action has feedback
  3. Each button has a pressed state
  4. back will do the same when the interface has a back button
  5. When the picture needs to be pulled from the network, or there is no picture, is there a default picture instead
  6. Open the developer options, check the display layout boundary, and check whether the clickable range of each button is reasonable

multi-language:

  1. Linguistic conventions of other languages ​​(such as Traditional)
  2. Note the plural in English
  3. In multi-language, it is necessary to specially check the copy displayed in the form of pictures (if the function guides, start the guide map)
  4. consistency. (On the one hand, it is the consistency of reference, on the other hand, if there is a copy of the common function of a series of applications, it also needs to be consistent)
  5. If you download a file or create a shortcut or make a purchase in Simplified, immediately switch the language and do the same action
  6. Check whether the cutting and line breaking in English language are correct ---by chenhengjie123
  7. When the text length is inconsistent, whether the UI interface can be adapted normally ---by chenhengjie123

upgrade:

  1. Is there a complete upgrade strategy (mandatory upgrade, grayscale release)
  2. Is it possible to cancel the process of downloading the upgrade package?
  3. Whether the upgrade package download can be resumed
  4. Whether the upgrade process can be interrupted (cancel button, back key)
  5. The Android system installs an unofficial market application for the first time and needs to manually cancel the restriction. Will this process affect the installation of the apk package (testing for pre-installed applications)
  6. When there is no update or network, it is necessary to give users the correct information expression
  7. If the upgrade ignores this version upgrade, when there is a new upgrade version, is there still a prompt to upgrade?
  8. After receiving the upgrade prompt, I downloaded the apk but did not install it. Replace the apk with the same name. After receiving the upgrade prompt next time, is the upgrade normal?

Apply external upgrades:

1 If the application downloads the installation package from the web page to upgrade, it is necessary to add the version number or logo to the file name to prevent the browser from having a cache when downloading, and the latest version cannot be installed---_luguo 2 Let the system download the upgrade installation package, try
two minor version upgrade

list:

  1. The length of text in the list exceeds the limit
  2. The state change of the list item after clicking the list item (especially when there are multiple progress bars, you need to pay attention to the state)
  3. Is it acceptable to freeze when sliding up and down (frame rate)

Dual SIM:

  1. When the mobile phone is dual-card dual-standby, the affected functions are: the functions that need to obtain the mobile phone number, such as payment; automatic reading of short messages

network:

  1. Whether to restore interface display data from data problems caused by network problems with a better experience
  2. Does every operation that requires a network request have timeout processing, and test its timeout period
  3. Check every action that requires a network request, the response of the interface when the network delays, the server has an error

monkey test:

  1. Must run monkey, don't just run it once, don't run it until the end of the test
  2. Change different interfaces and different parameters to run monkey
  3. Remember to record all logs, it would be better if there is a log filtering tool

Performance Testing:

  1. Data such as cpu usage, memory, traffic, and time consumption must have standards and reference values ​​(it can be the performance of similar operations of similar applications in the market, or tests of different versions of the same application) 2. The pressure of specific operations (usually the main function) Tests generally execute a certain action or combination in large quantities for a long time, especially because the action is implemented through JNI, or other third-party sdk is used. Generally write scripts or record scripts.

  As someone who has been here, I also hope that everyone will avoid some detours

Here I will share with you some necessities of the way forward in automated testing, hoping to help you.

(software testing related materials, automated testing related materials, technical questions and answers, etc.)

I believe it can make you better progress!

Click on the small card below

Guess you like

Origin blog.csdn.net/Free355/article/details/131786495