Thursday, 18 June 2015

How to use Manuji to Analyze Memory Leaks.


Manuji 2.07 release has the capability of accruing active memory maps and provides memory reports. However this capability only available for Android as of now and this will be release to other platforms during later releases. You can access memory maps by following simple steps.

Step 1 :  Connect your test device into your PC and record your test scenario as normal using Manuji recording option.

Step 2 :  Select the Process from Manuji process view that your application uses during the execution. This is normally your application package name.

Step 3 : Once you select the process, Manuji will display its main graphs.


Please refer to above screenshot. As I highlighted using RED, all these places use high memory and memory was not releasing after application exit. In this scenario we need to know what are the memory objects actually residing in the memory after application exit.



Step 4 : Open Manuji main menu by clicking its hamburger menu and select “Show Heap Analysis” Option


Then Manuji will display following report


Scroll down and select “Show heap histogram” link

Then Manuji will display “Heap Histogram” report where it has all the objects and instance count with total size (KB).

 

Then you can click each and every object in the list and identify the content of the object.


You can also select “Show instance counts for all classes” option from main reporting menu in order for you to understand object behavior class wise.


 When you click any of the instance/class you can see the memory content of the class.


This information you need to discuss with your development team in order to understand how to optimize and minimize the object instance count.






























Tuesday, 9 June 2015

Important statistics I came across. Might helpful for mobile nonfunctional testing

Mobile Performance Impacts Revenue





Fragmentation adds Complexity





Apps Least Stable



Response Times in Canada Are Fastest





The Difference Between a Mobile App and a Mobile Website

The vast majority of users (85 percent) preferred mobile apps over mobile websites.
  • Apps are perceived as more convenient (55 percent), faster (48 percent) and easier to browse (40 percent).
Slightly more than half of users have experienced a problem with a mobile app. Among those who have experienced a problem:
  • 62 percent reported a crash, freeze or error.
  • 47 percent experienced slow launch times.
  • 40 percent have tried an app that simply would not launch.
Users will not tolerate a problematic mobile app, and will abandon it after only one or two failed attempts.
  • 79 percent would retry a mobile app only once or twice if it failed to work the first time.
Dissatisfied users are driven to competitive apps and will spread unfavorable reviews in person and online.
  • If dissatisfied with the performance of a mobile app, 48 percent of users would be less likely to use the app again.
Users expect mobile apps to launch not just quickly, but faster than mobile versions of websites.
  • 78 percent expect mobile apps to load as fast as — or faster than — a mobile website.
Mobile app users value app store ratings.
  • 84 percent of users say app store ratings are important in their decisions to download and install a mobile app

What Do Consumers Really Need or Want?

  • Easy access to product and store information
  • Help planning and navigating trips
  • The ability to communicate in real time
Consumers want to download an easy-to-navigate app that delivers a suite of key  functionality and mobile services through an intuitive, entertaining user interface. They Expect an app to identify what device they are on and present them with the right set of Options and functionality for that particular device. Consumers want proactive and relevant (to them) information and services within the context of their location at a particular time.

An app has to push out personalized content, offers and perks based on their interests, While providing the ability to share offers, news and product recommendations virally on their social networks. The caveat here is that bad experiences will also be shared. This is actually reason enough to ensure apps perform at as high a level as possible.

Mobile Apps or Mobile Sites?

Apps are thought to make our life easier, doing things such as streamlining our calendars and grocery lists, offering entertainment while we’re stuck in line, and making it easy to collaborate with coworkers. Consumers associate apps with productivity. They bank, pay bills, shop, reserve hotels and make travel plans, while, of course, staying productive and connected with both home and the office.

Issues are Common for Mobile Apps

When consumers were asked if they had encountered a problem (app crashes,freezes, errors, or either slow to load or won’t load) accessing a mobile app within the last six months, 56 percent said yes. Among those who have experienced a problem,
  • 62 percent reported a crash, freeze or error; 
  • 47 percent experienced slow launch times; 
  • 40 percent reported an app that would not launch.
Users quickly notice apps that are slow or likely to break (whether because of downtime, crashes, etc.), and this impairs both usage and brand perception. Users expect a mobile app to be fast and responsive; if it’s not, it will get poor reviews, low ratings and low adoption numbers. While 79 percent of consumers would retry a mobile app only once or twice if it failed to work the first time, only 16 percent would give it more than two attempts. Poor mobile app experience is likely to discourage users from using an app again. When consumers were asked what action would they take if dissatisfied with the performance of a mobile app, 48 percent said they would be less likely to use the app again. Consumers would also be less likely to purchase from the company and more likely to switch to a competitors app, tell others about their poor experiences and give the app a low rating on the app store.

Consumer reaction to poor mobile app experiences

Expectations: Mobile Apps vs. Websites

As always, consumers want fast, pleasing experiences — and mobile apps are no exception. When asked how quickly consumers expect mobile apps to load and become usable (after the initial installation), more than three-quarters of app users said they expect mobile apps to load as fast as, or faster than, a mobile website. Four out of five app users expected an app to launch in three seconds or less.


Compared to mobile websites, how quickly should a mobile app load?


How quickly should a mobile app launch?























How important is mobile app performance?



References:

http://www.mobilestatistics.com