Testing Mobile Apps: QA Can Make or Break Project‘s Success

To ensure the success of an app, QA must be involved in all stages of development.

Quality Assurance (QA) plays a vital role in the development of mobile applications, but many overlook the critical nature of this piece of the app development process.

To ensure the success of an app, QA must be involved in all stages of development, from creating the concept, analyzing requirements and wishes, creating test specifications, testing early versions of the app, releasing the finished product, to the post-development review process.

Preparatory phase

This phase begins after app development has been commissioned and is complete before the first assembly of a functioning app begins.

Important activities during this phase include:

1. Identifying target devices

2. Introducing functional requirements

3. Developing test documentation

4. Preparing the test environment

Guidelines to determine target devices include:

1. Figuring out what devices the application will support (phones, tablets, other devices – players, navigation);

2. Determining the earliest version of relevant operating systems to be supported.

There are two options: a special restriction, which will be further reflected in the requirements when installing the app, or selecting a lower limit operating system by device popularity among the target audience.

For example, for iOS devices it should be the first iPad with iOS 5.1.1 (if the application has no performance problems on it, there should be no problems in later versions of the device); the iPhone 3GS only runs iOS 4.3.5, so it is the least-productive platform to develop for, but the device is still popular globally.

3. Identifying the most popular models for the target audience.

4. Selecting additional devices with different screen sizes than the most popular models.

Functional requirements

The next step is introducing functional requirements.

It is important to define whether the app is browser-based or installable, whether it interacts with a Web site or database, whether it interacts with other apps or social networks, or if it is completely self-contained (does not interact with the Internet and cellular network).

Information collected at this stage should focus on important app functions.

Test documentation

Then it is time to develop test documentation.

Many mobile apps only need high-level documentation, as tasks within the app are typically done with just a few clicks and do not involve complex tasks.

This simplicity means that it is not necessary to create detailed instructions for testing.

For non-mobile apps as well, much depends on optimally partitioning app functionality into blocks while creating test documentation.

This allows connections between different units to be tracked accurately, and requires less time to verify various functions.

User feedback

If the app is an updated version of an existing AppStore or Google Play offering, it may be useful to analyze user reviews and feedback that has been posted on social networks and the app marketplace.

Problems are often found and documented in these environments by end users, and this information will help identify and focus on the app’s most important shortcomings.

When new app versions are introduced, users expect to find specific problems have been fixed.

If they are not, it often causes them to react with anger or frustration, especially if they and others have taken the time to document or report errors.

It can be useful to add these end-user concerns to the test checklist as a separate category of problems, and pay special attention to them during testing.

Test environment

Preparing a test environment typically requires the installation of required apps on the mobile device, as well as the installation and configuration of required apps on the QA engineer’s computer.

This might include apps such as the iPhone Configuration Utility and Android SDK.

From here, the process becomes an iterative cycle. It starts after the integration of the first assembly and ends with the completion of product development. It includes testing multiple assemblies at regular intervals (once or twice a week, for example).

Development and testing are carried out simultaneously with each new build of the app.

The main idea of testing is for the QA engineers to put themselves in the shoes of the user, but with a more profound knowledge of the settings and the principles of a particular device and the features of the app being tested.

Here are the characteristics of different types of apps and operating platforms, along with areas that require special attention when it comes to testing for various mobile operating systems.

Apple iOS testing

1. Verify compliance with UI Guidelines from Apple.

2. Apps must be backward-compatible with the OS (a new version of the OS is expected to maintain full functionality of the app).

3. When multitasking, all settings and current progress of the app must be preserved when the app is minimized or when the user switches between apps.

4. You must be able to debug the app and collect logs via a USB cable connection without additional operations being performed on the device.

5. There is no need to reboot the device while testing.

Google’s Android testing

1. The app must support running multiple apps in the background.

2. For debugging via USB, you must first select “Enable USB Debugging” in the device settings, and then connect the device to the computer.

3. When using the hardware “Back” button, the app should be minimized, not closed. Otherwise, the device may require rebooting to run the app again. You can also use an app such as Task Killer as an alternative to rebooting.

Windows mobile testing

1. The app must support multiple apps running in the background.

2. You must be able to close the app through the task manager.

3. You must connect the device to a computer via USB to debug the app.

Check these, regardless of the device/OS

1. Input methods, devices and form factors (number pad, qwerty-keyboard, touch screen, side panel, external devices)

2. Different networks (WiFi, Edge, 3G, 4G, GSM / CDMA), including unstable networks

3. GPS functionality

4. Energy consumption

5. Accelerometer

6. Standards Compliance mobile development (AppleHIG, Android principles)

7. External interrupts (calls, SMS, stability in the event of a shortage of disk space, installation and restoration in the background)

8. Memory cards.

9. Stability after a crash.

10. Using data on the device (address book, calendar).

11. Access rights apps.

12. Social networks and other third-party apps.

13. Interface (animations, icons, portrait/landscape orientation, Retina (for iOS), the visibility of labels, size, ease of use).

14. Time (server time/phone time, time zones).

15. Redirections (Web → app, app → Web).

Control phase

The control phase is where you prepare the draft for release after product development ends.

This phase includes detailed and complete testing (during early iterative phases, a full test might not have been performed, or more regression tests may be required) to stabilize the app and uncover minor defects.

This also tests for loss of auxiliary modules (testing in the app can present opportunities to check subsidiary functions such as Log Collector and artificial recharge of game balance, which were added to facilitate or reduce testing time, but that should not appear in the final product).

The approach typically used for testing in this control phase is somewhat like using scaffolding when constructing a building.

We can add features and change settings for the sake of development and testing that will not be in the final version of the app.

For example, an app undergoing control phase testing might be set to provide endless lives or infinite ammunition for the tester.

Once the building is complete, the scaffolding is taken away – much like how settings and features used to test and develop the final version of the app are then taken away before it is made available to the public.

Acceptance testing

The final phase is acceptance testing. The focus here is to check if the app matches its acceptance criteria (which was defined at the start of the development cycle) or not.

Acceptance testing is performed based on a set of typical test cases and scenarios that are created based on the app requirements. It may specify “no major defects exist in the application,” or “all application labels and functions fully correspond to the rules of the target language.”

This phase of testing is also typically the most important, especially when further support of the app is not provided once it is made public.

Acceptance testing is used to ensure the quality of the app is perfect – or near perfect – and to ensure that the customer is happy with the results of the development process.

At this step, the customer decides if the app is excellent enough to accept it as final, and that decision is primarily based on the test results.

AFTER CAREFULLY tailoring these test phases to the app being developed and meticulously carrying them out, you are certain to end up with functional product.

Tatyana Mahlaeva
Tatyana Mahlaeva is mobile applications QA manager for A1QA, an Austin, TX-based global software testing and quality assurance company. Reach her at t.mahlaeva@a1qa.com.

Quality Assurance (QA) plays a vital role in the development of mobile applications, but many overlook the critical nature of this piece of the app development process.

To ensure the success of an app, QA must be involved in all stages of development, from creating the concept, analyzing requirements and wishes, creating test specifications, testing early versions of the app, releasing the finished product, to the post-development review process.

Preparatory phase

This phase begins after app development has been commissioned and is complete before the first assembly of a functioning app begins.

Important activities during this phase include:

1. Identifying target devices

2. Introducing functional requirements

3. Developing test documentation

4. Preparing the test environment

Guidelines to determine target devices include:

1. Figuring out what devices the application will support (phones, tablets, other devices – players, navigation);

2. Determining the earliest version of relevant operating systems to be supported.

There are two options: a special restriction, which will be further reflected in the requirements when installing the app, or selecting a lower limit operating system by device popularity among the target audience.

For example, for iOS devices it should be the first iPad with iOS 5.1.1 (if the application has no performance problems on it, there should be no problems in later versions of the device); the iPhone 3GS only runs iOS 4.3.5, so it is the least-productive platform to develop for, but the device is still popular globally.

3. Identifying the most popular models for the target audience.

4. Selecting additional devices with different screen sizes than the most popular models.

Functional requirements

The next step is introducing functional requirements.

It is important to define whether the app is browser-based or installable, whether it interacts with a Web site or database, whether it interacts with other apps or social networks, or if it is completely self-contained (does not interact with the Internet and cellular network).

Information collected at this stage should focus on important app functions.

Test documentation

Then it is time to develop test documentation.

Many mobile apps only need high-level documentation, as tasks within the app are typically done with just a few clicks and do not involve complex tasks.

This simplicity means that it is not necessary to create detailed instructions for testing.

For non-mobile apps as well, much depends on optimally partitioning app functionality into blocks while creating test documentation.

This allows connections between different units to be tracked accurately, and requires less time to verify various functions.

User feedback

If the app is an updated version of an existing AppStore or Google Play offering, it may be useful to analyze user reviews and feedback that has been posted on social networks and the app marketplace.

Problems are often found and documented in these environments by end users, and this information will help identify and focus on the app’s most important shortcomings.

When new app versions are introduced, users expect to find specific problems have been fixed.

If they are not, it often causes them to react with anger or frustration, especially if they and others have taken the time to document or report errors.

It can be useful to add these end-user concerns to the test checklist as a separate category of problems, and pay special attention to them during testing.

Test environment

Preparing a test environment typically requires the installation of required apps on the mobile device, as well as the installation and configuration of required apps on the QA engineer’s computer.

This might include apps such as the iPhone Configuration Utility and Android SDK.

From here, the process becomes an iterative cycle. It starts after the integration of the first assembly and ends with the completion of product development. It includes testing multiple assemblies at regular intervals (once or twice a week, for example).

Development and testing are carried out simultaneously with each new build of the app.

The main idea of testing is for the QA engineers to put themselves in the shoes of the user, but with a more profound knowledge of the settings and the principles of a particular device and the features of the app being tested.

Here are the characteristics of different types of apps and operating platforms, along with areas that require special attention when it comes to testing for various mobile operating systems.

Apple iOS testing

1. Verify compliance with UI Guidelines from Apple.

2. Apps must be backward-compatible with the OS (a new version of the OS is expected to maintain full functionality of the app).

3. When multitasking, all settings and current progress of the app must be preserved when the app is minimized or when the user switches between apps.

4. You must be able to debug the app and collect logs via a USB cable connection without additional operations being performed on the device.

5. There is no need to reboot the device while testing.

Google’s Android testing

1. The app must support running multiple apps in the background.

2. For debugging via USB, you must first select “Enable USB Debugging” in the device settings, and then connect the device to the computer.

3. When using the hardware “Back” button, the app should be minimized, not closed. Otherwise, the device may require rebooting to run the app again. You can also use an app such as Task Killer as an alternative to rebooting.

Windows mobile testing

1. The app must support multiple apps running in the background.

2. You must be able to close the app through the task manager.

3. You must connect the device to a computer via USB to debug the app.

Check these, regardless of the device/OS

1. Input methods, devices and form factors (number pad, qwerty-keyboard, touch screen, side panel, external devices)

2. Different networks (WiFi, Edge, 3G, 4G, GSM / CDMA), including unstable networks

3. GPS functionality

4. Energy consumption

5. Accelerometer

6. Standards Compliance mobile development (AppleHIG, Android principles)

7. External interrupts (calls, SMS, stability in the event of a shortage of disk space, installation and restoration in the background)

8. Memory cards.

9. Stability after a crash.

10. Using data on the device (address book, calendar).

11. Access rights apps.

12. Social networks and other third-party apps.

13. Interface (animations, icons, portrait/landscape orientation, Retina (for iOS), the visibility of labels, size, ease of use).

14. Time (server time/phone time, time zones).

15. Redirections (Web → app, app → Web).

Control phase

The control phase is where you prepare the draft for release after product development ends.

This phase includes detailed and complete testing (during early iterative phases, a full test might not have been performed, or more regression tests may be required) to stabilize the app and uncover minor defects.

This also tests for loss of auxiliary modules (testing in the app can present opportunities to check subsidiary functions such as Log Collector and artificial recharge of game balance, which were added to facilitate or reduce testing time, but that should not appear in the final product).

The approach typically used for testing in this control phase is somewhat like using scaffolding when constructing a building.

We can add features and change settings for the sake of development and testing that will not be in the final version of the app.

For example, an app undergoing control phase testing might be set to provide endless lives or infinite ammunition for the tester.

Once the building is complete, the scaffolding is taken away – much like how settings and features used to test and develop the final version of the app are then taken away before it is made available to the public.

Acceptance testing

The final phase is acceptance testing. The focus here is to check if the app matches its acceptance criteria (which was defined at the start of the development cycle) or not.

Acceptance testing is performed based on a set of typical test cases and scenarios that are created based on the app requirements. It may specify “no major defects exist in the application,” or “all application labels and functions fully correspond to the rules of the target language.”

This phase of testing is also typically the most important, especially when further support of the app is not provided once it is made public.

Acceptance testing is used to ensure the quality of the app is perfect – or near perfect – and to ensure that the customer is happy with the results of the development process.

At this step, the customer decides if the app is excellent enough to accept it as final, and that decision is primarily based on the test results.

AFTER CAREFULLY tailoring these test phases to the app being developed and meticulously carrying them out, you are certain to end up with functional product.

About Tatyana

Tatyana Mahlaeva is mobile applications QA manager for A1QA, an Austin, TX-based global software testing and quality assurance company. Reach her at t.mahlaeva@a1qa.com.

Tatyana Mahlaeva
Tatyana Mahlaeva is mobile applications QA manager for A1QA, an Austin, TX-based global software testing and quality assurance company.

The Related Post

LogiGear Magazine December 2012 – Mobile Test Automation  
To help testers gain an edge, here’s a list of free resources Mobile testing is making leaps and bounds of progress in the overall testing space. As this field is highly dynamic, a tester must constantly evolve and improvise his or her knowledge of mobile testing. To help software testers gain an edge, I have compiled the following list ...
To start with, we need a Test schedule. The same is created in the process of developing the Test plan. In this schedule, we have to estimate the time required for testing of the entire Data Warehouse system. There are different methodologies available to create a Test schedule. None of them are perfect because the ...
In today’s mobile-first world, a good app is important, meaning an effective Mobile Testing strategy is  essential.  
I am not a big fan of concepts which moves industry standards to IT. I am rather a Agile and Scrum guy. Managing multiple projects at once and trying to set a highest quality standard is a challenge and this book shows how industrial language can be translated into software development. I do not think that it ...
Convergence of Social Media, Mobile, Analytics, & Cloud [SMAC] is one of the hottest trends these days. It is a major business agenda forcing organizations to rethink their strategies and increase technology investments in this direction.
What you need to know to get started Introduction to mobile application testing Gone are the days when the telephone was an appliance that sat in a corner and had to ring to get our attention, or a computer was a machine only few people used — these devices are now an extension of our ...
LogiGear Magazine, September 2015: Mobile Testing
What you need to know for testing in the new paradigm This two part article analyzes the impact of the Internet of Things (IoT) product development on traditional testing. Part one of this series starts with a wide view on the IoT, embedded systems and device development aspects of testing. Part two, to be published ...
This article will cover 10 common mobile app testing mistakes to avoid when you are a software tester working in a mobile app testing and development environment. The 10 points may help you to start your mobile testing activities if you are new to mobile testing or they may help you to recap your existing mobile testing ...
Test engineers face a rapidly changing mobile application landscape, making mobile test automation a necessity. We know that mobile apps are becoming increasingly complex along with the technological advances in tablets and smartphones. Test engineers have to address multiple challenges while testing data-centric mobile apps, including the growing diversity of device features, platforms, and technologies. Fortunately, ...
Gal Tunik explains the necessity of test automation in mobile applications, citing the unique challenges that that platform raises, including the intricate differences between mobile and desktop interfaces, and performance test results for applications as well as mobile networks. It is no surprise in this day and age of instant-on gratification that mobile devices are ...

Leave a Reply

Your email address will not be published.

Stay in the loop with the lastest
software testing news

Subscribe