How to Test Android ApplicationsTesting
January 02, 20214 minutesuserBhumi Khimani
How to Test Android Applications
Few main things remember to test an Android Application which are mention below:

1. Functional testing test cases

There are many hands involved in creating a mobile app.  These stakeholders may have different expectations.  Functional testing determines whether a mobile app complies with these various requirements and uses.  Examine and validate all functions, features and competencies of a product.

Twelve functional test case scenario questions:

  1. Does the application work as intended when starting and stopping?  
  2. Does the app work accordingly on different mobile and operating system versions?
  3. Does the app behave accordingly in the event of external interruptions?
  4. (i.e. receiving SMS, minimized during an incoming phone call, etc.)
  5. Can the user download and install the app with no problem?
  6. Can the device multitask as expected when the app is in use or running in the background?
  7. Applications work satisfactorily after installing the app.
  8. Do social networking options like sharing, publishing, etc. work as needed?
  9. Do mandatory fields work as required?  Does the app support payment gateway transactions?
  10. Are page scrolling scenarios working as expected?
  11. Navigate between different modules as expected.
  12. Are appropriate error messages received if necessary? 

There are two ways to run functional testing: scripted and exploratory.


Scripted
Running scripted tests is just that - a structured scripted activity in which testers follow predetermined steps.  This allows QA testers to compare actual results with expected ones.  These types of tests are usually confirmatory in nature, meaning that you are confirming that the application can perform the desired function.  Testers generally run into more problems when they have more flexibility in test design.

Exploratory
Exploratory testing investigates and finds bugs and errors on the fly.  It allows testers to manually discover software problems that are often unforeseen;  where the QA team is testing so that most users actually use the app.  learning, test design, test execution and interpretation of test results as complementary activities that run in parallel throughout the project.  Related: Scripted Testing Vs Exploratory Testing: Is One Better Than The Other? 

2. Performance testing test cases

The primary goal of benchmarking is to ensure the performance and stability of your mobile application

Seven Performance test case scenarios ensure:

  1. Can the app handle the expected cargo volumes?
  2. What are the various mobile app and infrastructure bottlenecks preventing the app from performing as expected?
  3. Is the response time as expected?  Are battery drain, memory leaks, GPS and camera performance within the required guidelines?
  4. Current network coverage able to support the app at peak, medium and minimum user levels?
  5. Are there any performance issues if the network changes from / to Wi-Fi and 2G / 3G / 4G?
  6. How does the app behave during the intermittent phases of connectivity?
  7. Existing client-server configurations that provide the optimum performance level? 

3. Battery usage test cases

While battery usage is an important part of performance testing, mobile app developers must make it a top priority.  Apps are becoming more and more demanding in terms of computing power.  So, when developing your mobile app testing strategy, understand that battery-draining mobile apps degrade the user experience.  Device hardware - including battery life - varies by model and manufacturer.  Therefore, QA testing teams must have a variety of new and older devices on hand in their mobile device laboratory.  In addition, the test environment must replicate real applications such as operating system, network conditions (3G, 4G, WLAN, roaming) and multitasking from the point of view of the battery consumption test.

Seven battery usage test case scenarios to pay special attention to:

  1. Mobile app power consumption 
  2. User interface design that uses intense graphics or results in unnecessarily high database queries
  3. Battery life can allow the app to operate at expected charge volumes
  4. Battery  low and high performance requirements
  5. Application operation if used when battery is removed Battery usage and data leaks
  6. New features and updates do not introduce new battery usage and data 
  7. Related:  The secret art of battery testing on Android 

4. Usability Testing Test Cases

Usability testing of mobile applications provides end users with an intuitive and user-friendly interface.  This type of testing is usually done manually, to ensure the app is easy to use and meets real users' expectations.

Nine usability test case scenarios ensure:

  1. The buttons are of a user-friendly size. 
  2. The position, style, etc. of the buttons are consistent within the app
  3. Icons are consistent within the application
  4. The zoom in and out functions work as expected
  5. The keyboard can be minimized and maximized easily.
  6. The action or touching the wrong item can be easily undone.
  7. Context menus are not overloaded.
  8. Verbiage is simple, clear and easily visible.
  9. The end user can easily find the help menu or user manual in case of need.
  10. Related: High impact usability testing that is actually doable 

We will see more points in our next articles.