[Android App test summary]

Source: Internet
Author: User

http://blog.csdn.net/ahaaaaa/article/details/50428198

Start:
1. Boot Portal: Desktop Normal startup, recently run Start, All Programs list start, lock screen Quick Start
2. Other Portals: Open the app from another program, opening the app externally as a file (if available)
3. Return: Return from other programs to the application under test, the app is opened by other apps and then launched from the desktop icon
The above requires cross-combination testing.
4. Abnormal start: Start after crash, write file is forced to kill after process starts, network request does not receive back packet to force kill process and then start, network timeout when start (timeout mechanism required)

function introduction, guide diagram, Flow tips, etc.:
1 new installer for the first time, there will be some initialization, or the box prompt, function introduction, when the external open, such as third-party open (usually do not calculate the first start), then start the program, check whether there are any actions.

Permissions:
1 If some permissions are disabled by the security software or the system, whether it can be used properly, need to be aware of the rights: microphone/Camera/location/SMS and other rights---_luguo
2 in the compatibility test, you need to pay special attention to the more strict rights management ROM, such as Meizu in the camera and other permissions are turned off by default
3 third party security software when you request a disable permission on a bullet box, does it affect the normal flow of the application under test?

File error
1 Using the wrong file type (but with the correct suffix name), instead of the file used by the application under test
2 adb push files uploaded from PC to device if there is a Chinese name, will generate an error file, the application needs to adapt to this error condition

Screen Rotation:
1 Confirm which interface is required to allow horizontal screen or prohibit horizontal screen
2 Lock the screen as a vertical screen or a horizontal screen, jump in several interfaces, the interface is normal
3 If the horizontal screen is adapted to a horizontal screen,

Flow:
1 The first time the app's traffic is up to expectations
2 when there are many pictures in the main interface, whether the image file size and display effect is balanced
3 When you need to use large network traffic (load big picture, video play buffer, download update package), show the current speed or progress, more friendly to users

Cache (/sdcard/data/com.your.package/cache/):
1. The cache will be deleted after uninstallation, where there are files that should not be deleted (download file, user profile)
2. Cache easy to be 360 mobile phone defender, cheetah Cleanup Master and other cleanup, you need to check whether the folder put the appropriate files

Normal Interrupt:
1. Perform lock screen operation in all interfaces, and observe if it is working properly after unlocking.
2. Perform a long-time lock screen operation on all interfaces to see if it is functioning properly after unlocking
3. In all interfaces, and all processes, press the home button to cut the background, and then cut back to see if it is normal
4. In all loading processes, press the back key
5. In all loading processes, press the home key
6. Try pressing the back key repeatedly when the interface toggles animation
7. Normal Click Action, try to press two times quickly
8. Rear camera and front camera cannot start at the same time, rear camera boot also includes turn on flash (compatibility with flashlight class application)
9. Check the keyboard expansion and the time of collection, and home, back, lock screen combination test
10. From the start of the third party, the home button back to the desktop, and then open the application from the desktop, the display is correct (should be determined to display a third-party boot interface, or display the program normal start interface, the former such as the latter such as QQ)

Abnormal interrupts:
1. Restart after power failure
2. If the interface is accidentally crashed, can restart the interface and revert to the state before the crash
3. After the call is over, return to the tested application interface
4. In some special cases, after the call, the mobile network will be cut off

User experience:
1. Use the main feature of the application with the most discerning and unreasonable user angle
2. Whether there is feedback for each action
3. Each button has a pressed state
4. When the interface has a return button, back will perform the same action
5. If the picture requires a network pull, or no picture, whether there is a default image replacement
6. Turn on developer options, tick show layout boundaries, check that the clickable range of each button is reasonable

Multi-lingual:
1. Language habits in other languages (e.g. traditional)
2. English note plural
3. In multiple languages, you need to check the text displayed in the image (if the function is booted, boot map)
4. Consistency. (On the one hand, the consistency of the point of reference, on the one hand, if there is a series of shared functions of the copy also need to be consistent)
5. If you downloaded a file in simplified or created a shortcut or made a purchase, switch languages immediately to do the same action
6. Check whether the cut and break in English language is correct---by chenhengjie123
7. If the text length is inconsistent, will the UI interface work properly---by chenhengjie123

Upgrade:
1. Is there a complete upgrade policy (forced upgrade, grayscale Publishing)
2. Can I cancel during the download of the upgrade package?
3. Whether the upgrade package download can be continued
4. Whether the upgrade process can be interrupted (Cancel button, back key)
5. Android System installs the unofficial market application for the first time, need to remove the limit manually, whether this process will affect the APK package installation (test of pre-installed application)
6. When there is no update or network, we need to give the user the correct information expression
7. If the upgrade has ignored this version of the upgrade, then when there is a new upgrade version, whether there is a prompt to upgrade
8. After receiving the upgrade prompt, downloaded the APK is not installed, the same name to replace the APK, the next time you receive the upgrade prompt, whether the normal upgrade

To apply an external upgrade:
1 application If you are jumping a Web page to download an installation package upgrade, you need to add a version number or identity to the file name to prevent the browser from having a cache while it is downloading, but not to install the latest version---_luguo
2 Download the upgrade installation package to the system and try the two version upgrade

List:
1. The length of text in the list exceeds the limit
2. Click the status change of the list item after the list item returns (especially if there are multiple progress bars present, you need to be aware of the status)
3. Whether the lag (frame rate) can be accepted when sliding up or down

Dual sim:
1. When the mobile phone is dual sim looks down, the effect of the function is: need to obtain the function of mobile phone number, such as payment; automatically read SMS

Internet:
1. Is it better to experience the recovery of interface presentation data from data problems caused by network problems
2. Whether each operation that requires a network request has done a timeout, and tested his time-out
3. Check the response of the interface when the network is delayed and the server has an error.

Monkey test:
1. Must run monkey, do not run only once, do not go to the late test to run
2. Change the different interface and different parameters run monkey
3. Remember to log all logs, if you can have a log filter tool better

Performance test:
1. CPU usage, memory, traffic, time-consuming and other data, must have standard and reference value (can be the same as the market performance of similar applications, or different versions of the application test)
2 stress tests for a specific operation (typically the main feature), typically for long periods of time in large batches to perform an action or combination, especially if the action was implemented through JNI, or if other third-party SDKs were used. Generally write scripts or record scripts.

Virus detection:
1. apk file is detected on PC (http://virscan.org/)
2. Mobile antivirus software detection (http://www.3533.com/news/14/201403/99325/which avast for static scan dex Contrast eigenvalues, easy manslaughter)

[Android App test summary]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.