Test case design for mobile app crashes

Source: Internet
Author: User

Source:

Http://www.spasvo.com/news/html/201433180305.html

The increasing use of mobile devices in our daily lives means that the topic of mobile app testing has become an unavoidable problem to consider. According to recent research, it is difficult for users to tolerate mobile apps with bugs.

The impact of mobile app Bugs is a poor user experience, a drop in App store ratings, a user-to-competitor app, loss of reputation and reputation, and a decrease in final sales if it's a paid app.

Mobile app testing has a certain amount of complexity compared to traditional desktop testing. These complexities can be categorized as:
  Environment (large number of devices, various mobile OSS, adaptable to frequent OSS changes).
  devices (touch and non-touch devices, limited memory capacity, battery power consumption).
  Network (different networks and operators, in the case of bad or no network app behavior, offline support).
  Usability (direction, touch, multi-touch, zoom, paging and navigation limitations, various distractions such as incoming calls, incoming SMS, alarms, and low battery alarms).
All of these phone-specific complexities require new test case designs for mobile app testing.

The most common mobile app Bug


According to the results of the survey, mobile app crashes are the most common mobile app Bug, which is expected as a result because it's easy to spot a mobile app crash. An Android os pops up on the screen with a pop-up window that says "Forced shutdown error", and when a crash occurs, the app screen in iOS disappears suddenly. In the worst case, app crashes can cause system failures and operating system crashes.

Mobile app crashes cause
Why do mobile apps often crash? There are several reasons for app crashes: from platform or environment to development issues.
Some of the reasons for the crash (ranked in no particular order):
  Device Fragmentation : Apps may behave differently on different devices due to the diversity of devices.
  Bandwidth throttling : A network with poor bandwidth may not have enough fast response time for apps.
  Network changes : Switching between different networks can affect the stability of the app.
  Memory Management : Low available memory, or use of an unauthorized memory location may cause the app to fail.
  too many users : Too many connections can cause the app to crash.
  Code Error : A new feature that has not been tested may cause the app to fail in a production environment.
  third-party services : Ads or pop-up screens may cause the app to crash.

Test case design for mobile app crashes
Test cases are one of the most important parts of mobile testing.
Preparing and executing pre-defined test cases for mobile app crashes will simplify and speed up testing for mobile app crashes.
Some common test scenarios that trigger the crash of the mobile app are as follows:
 1 Verify app behavior on multiple devices with different screen resolutions, operating systems and operators.
2 Verify the app's behavior with the newly released operating system version.
3 Verify app behavior in environments such as tunnels, elevators, etc. that suddenly change the quality of the network.
4 change from cellular to Wi-Fi via manual network, or in turn, verify app behavior.
5 Verify app behavior in a network-free environment.
6 app behavior when verifying incoming/SMS and device-specific alerts, such as alerts and notifications.
7 Verify app behavior by changing the direction of the device in different view modes.
8 Verify the app behavior when the device is low on memory.
9 Verify app behavior by applying loads with test tools.
10 Verify app behavior in different supported languages.
Obviously, there will be more app-specific scenarios that cause the app to crash.

Conclusion

In this study, a common test case for mobile app crashes was shown.
If the mobile Test team prepares and executes these test cases in their test scenario, a crash-related bug can be found early in the development cycle. The development team then clarifies the cause of the crash and finds a common way to resolve all bugs. Finally, app quality and user satisfaction will increase.

Test case design for mobile app crashes

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.