Home  >  Article  >  Operation and Maintenance  >  What is the main reason for APP crash?

What is the main reason for APP crash?

WBOY
WBOYforward
2023-05-18 13:55:062456browse

1. What kind of scenarios are likely to cause crash problems?

Recently, I have been thinking about what kind of problems are likely to cause crashes - that is, having abnormal thinking. For example: Just two days ago I watched an American TV series called "Rookie". There was a scene in which the protagonist John Nolan failed to stop the fugitive's car with a police car, causing the fugitive to escape. What is the connection between this scene and the test? First of all, normal people will avoid collisions with others when driving on the road. This is like the main process of testing a function, and they will not make random inputs; but the policeman is different. He will do whatever it takes to catch the fugitive. All methods, this is like abnormal thinking during the testing process, thinking about how to operate the function to make it difficult to use.

Book 1. Abnormal operations

Various abnormal operations may cause the program to crash. Although customers basically use the APP according to the process, for testers, potential crashes are found Problems and ensuring product quality are the best summary of our work. Most of the specific function crash issues summarized below are caused by abnormal operations, such as adding large-capacity images, long images, incomplete images, etc. during the image upload process.

Tip 2. Switching back and forth between the front and back of a certain function can easily lead to a crash

For example, switching to the background and back again during video playback

Tip 3. Boundary Value class collapse

The so-called boundary value class problem is the maximum value that the test function can withstand. For example, for example, the maximum picture support is 5M, you upload a picture = 5M, and the text box supports a maximum of 300 words. Just enter more than or equal to 300 words.

Book 4. Click a specific function multiple times

This is more common. Click the page return button multiple times, search multiple times, click the switch button multiple times, and click the share button multiple times. etc. will cause the program to crash.

Tip 5. Function operation under weak network conditions

Tip 6. Quick operation when the page is not fully loaded

2. Crash problem of specific functions

2.1, Video Category/Voice Category

1) When the video is playing in full screen, click the full screen button and the return button in the upper left corner multiple times, the system crashes

2) When the video is played in full screen, click full screen at the same time and return to the previous page button

3) The system crashes when switching between horizontal and vertical screens during video playback

4) During video playback, the system crashes after repeatedly adjusting the multiple speed

5) Video Switching to the background and then back to the foreground during playback, the playback fails

6) The APP crashes when switching chapters multiple times during video playback

7) The video is paused by other software during playback and then restarted Switch to the play page and click Continue to be unable to continue playing

8) The downloaded video crashes after clicking to delete it

2.2. Camera/Scan/Avatar

1) Scan Scan the interface to enter the photo album and select more than 10M pictures. A crash occurs.

2) No photo album permissions to modify the avatar, but the photo album can be accessed

3) The avatar uploads a long picture and it crashes

4) The avatar Crash when uploading incomplete pictures

5) Click the photo button to switch to the background, then switch to the foreground, click to select the picture and a crash occurs

2.3. Text box/search

Input Paste the content in the box and select all and copy the program crash

2) Enter text in the search interface and select all and add the crash

3) After the search is successful, search for the APP again

4) Enter special characters multiple times to search, and the app crashes

5) Click Cancel on the search results interface and the app crashes

2.4. Page operations

1) After entering the page Exit immediately and click on other columns

2) Continuously return to the previous page

3) Enter the interface and keep loading, kill app and then click app, a crash occurs after the page opens

4) When there is a lot of content in the interface, slide up to refresh and then slide down. The interface will be stuck. Click on any record and a crash will occur.

2.5. Sharing function

1) After sharing on WeChat, successfully return to the application. Click the share button again and the app crashes

2) Operate the message sharing button multiple times

3) After successfully sharing the content, if you open the link in QQ, it will prompt that the story does not exist

4 ) Weibo authorized login, crashed several times

Finally, these scenarios and operations require temporary changes to achieve better results. Clicking a certain function multiple times under weak network conditions, I personally think it is easier to use. It involves clicking a certain function multiple times, and the program frequently switches between front and back, etc.

The above is the detailed content of What is the main reason for APP crash?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete