- May 24, 2012
- Posted by: Anjana V K
- Category: Testing
Handheld devices are evolving and becoming increasingly complex with the continuous addition of features and functionalities. Testing is challenging in the handheld, wireless world because problems are new, or they show up in new ways. This paper is aimed to highlight certain crucial areas the tester needs to concentrate on while testing Mobile applications.
The three main areas to consider:
- Understanding the behaviour of the device
- UI & Usability Testing.
- External Constraints
- Stress Testing
Understanding the behavior of the device
If you are new to a device the first thing you should do is to get familiar with how the common device functionalities work – such as its Phone, Camera, Contacts, Calendar, Program etc.
Things to note while exploring inbuilt applications:
- Overall color scheme/theme of the device.
- Style and color of icons
- Progress indicators when pages are loading.
- Menus – How they are invoked and typical items they contain.
- Overall responsiveness of applications on the device.
UI & Usability Testing:
The unique features of mobile devices pose a number of significant challenges for examining usability of mobile applications, including screen orientation, multi-modality, small screen size, different display resolutions, soft keyboards and touch screen.
If your application is supported on various devices that have different screen resolutions, make sure you test with the device that has the smallest screen and the application still looks good on larger screen sizes as well.
Screen orientation (Landscape/Portrait modes)
- If your device supports screen orientation changes be sure to include lots of testing where you rotate the device from portrait to landscape display, and vice versa, on all of the pages within your application.
- It is also important to test input reactions when the screen orientation is changed.Try using the soft keyboard while changing the orientation repeatedly. Attempt this repeatedly and quickly to see if the rapid changes in orientation have a negative effect on the application.
Make sure that the application supports multi-touch (eg: pinch, two finger tap, two finger scroll, spread, two hand spread etc) , single touch – eg: tap, double tap, scroll etc, touch based on requirement. Application should be tested for long touch and soft touch behavior.
Soft keyboards – Points to consider
- Does the soft keyboard appears automatically
- Does the first layer of the soft keyboard include shortcuts related to highlights
- Does a long touch on a soft character key bring up several different character choices
- Can the soft keyboard be dismissed and re-displayed easily
- Can the soft and hard keyboards be used interchangeably (if the device has both)
- Do soft keyboard characters entered in password fields only show up as ****
Multi-modality combines voice and touch (via a keypad or stylus) as input with relevant spoken output (e.g., users are able to hear synthesized, prerecorded streaming or live instructions, sounds and music on their mobile devices) and onscreen visual displays in order to enhance the mobile user experience and expand network operator service offerings. Make sure that the application supports the functionality based on the requirement.
External Factors Affecting Mobile Application Testing
App going to be used on devices in various locations with various network connection speeds, it is important to plan testing coverage for the following scenarios:
- Only Wi-Fi connection
- Only 3G/2G connection
- With no SIM card in the device
- In Airplane mode (or all connections disabled)
- Using the network through a USB connection to a PC
- Test intermittent network scenarios that a user might encounter in the real world:
Tester has to check the application behavior during incoming and outgoing call. Make sure that the application works fine during the following phone calls.
- Application is interrupted by an incoming call, originator hangs up the call
- Application is interrupted by an incoming call, terminator hangs up the call
- Application is interrupted by placing an outgoing call, originator hangs up the call
- Application is interrupted by placing an outgoing call, terminator hangs up the call.
Tester has to consider the below interrupts that could have an impact on the functionality or overall responsiveness of your application.
- Text messages
- Voicemail notifications
- Calendar events
- Social media notifications (Face book, Twitter, etc)
- Alarm clocks
- Low battery notifications
Explore your device’s options, and change settings such as the following to see how they affect your application:
- Sound profiles – Does your application respect the device’s sound settings?
- Device password/unlock pattern – Does your application still install correctly when prompted for password/unlock pattern?
- Font – How does choosing a different font family, size, or style affect the appearance and usability of your application?
- Screen time out/Auto on, off- Is your application subject to screen dimming or automatically turning off even when it is actually busy?
- Screen orientation – Does your application respect this setting?
- Connections – How does enabling/disabling Bluetooth or other connection types affect your application’s behavior?
Certain mobile applications consume more memory and CPU than desktop applications. Stress testing is a must to identify exceptions, situations with the application hangs, and deadlocks that may go unnoticed during functional and user interface testing.
Note the behaviour of the application while testing with the following scenarios:
- Load your application with as much data as possible with an attempt to reach its breaking point.
- Perform the same operations over and over again, particularly those that load large amounts of data repeatedly.
- Perform the repeated operations at varying speeds – very quickly or very slowly.
- Leave your application running for a long period of time, both interacting with the device and just let it sit idle, or perform some automatic task that takes a long time.
- Test multiple applications running on your device so you can switch between your application and other applications.
- After testing several functionality switch off and switch on the device.