Thursday, July 30, 2015

Transility is exhibiting at CTIA Super Mobility 2015 at Las Vegas

Meet me at CTIA Super Mobility 2015 in Las Vegas.
Click on below link to get your Free visitor Hall Pass worth $195
http://transility.com/events.html


Wednesday, November 12, 2014

Interrupt Testing Automation of Mobile Apps

Interrupt testing of mobile application is defined as a process of replicating the random interrupts while the application is executing its normal flows and assessing their impact on it. The expected behavior of the application is handling of these interrupts gracefully without blocking them or hiding the notifications automatically and resuming the normal flow of the application once the interruption is over.
Some of the important interruptions that need testing in any mobile applications are:
·         Incoming SMS
·         Incoming calls
·         Incoming Push Notifications
·         Device Power cycle
·         Data cable Insertion and Removal while data transfer
·         Network connectivity on/off
An application should be able to handle these interruptions by going into a suspended state and resuming afterwards, as these are possible to happen while the app is running on the end-user device any time randomly and unexpected.
Interrupt testing of mobile application poses various challenges related to the replication above-mentioned interruptions while the app is running on the test device for both manual and automation testing.
Some of these challenges and their workarounds in manual testing are -
·         Generation of incoming SMS - by using a web based SMS service.
·         Generation of incoming calls - by calling the test device from another phone
·         Incoming Push Notifications - by using OEM Push Notification Gateway control panel
·         Device Power cycle – by pushing off/on the power switch
·         Data cable Insertion and Removal while data transfer – by physically Insertion/removal of cable
·         Network connectivity off/on – by moving in/out of the lift with the test device or placing the Mobile phone in/out of a microwave oven
Interrupt testing of mobile application is a very important but still only very few automation tools and frameworks are able to support these. As it is very difficult to replication/simulation of above interrupts on the test device in the lab or over the unattended remote device in the cloud without any physical interaction with it. 
Some tools/frameworks available out in the market provide the capabilities of simulation for required interrupts with help of keyword based scripting. The QA engineer is required to add the interrupt on various screens/activities of the test cases and has to write manually the events for expected user action on it and assertion for the expected app behavior for every added interrupt in the test script. QA engineer has the responsibility to verify these interruptions for every scenarios/screens and coding it manually becomes very time-consuming and complex job.

Exploring various available mobile test automation solutions & Tools, I found mAutomate, which is one of the first few mobile automation tools, that has simplified this process of Interrupt testing automation of mobile application making it achieve able just in few clicks. You can get the access to its free version from its website (mAutomate.com). Once you have the set of functional test cases ready (recorded) in the system for execution on target devices – you can simply insert the required Interrupts at any stage of the test script just by clicking on the web based test script-editing wizard without writing a single line of code. It is able to simulate all required interrupts on the target devices while the test script is executing on the remote device and get the results with screenshots back to us on the web interface.

Monday, June 23, 2014

Future Trends in Mobile Test Automation Tools


In Mobile test Automation tools now we see a trend of these test automation tools moving towards a combination of Object & Image comparison based approach and calling it hybrid approach of mobile test automations. Pre-dominantly Image comparison based tools have started offering Object comparison based testing as well and Tools like mAutomate are moving towards image comparison, by virtue of which mAutomate is now able to provide UI verification along with functional test execution.

Looking at this current trend, I can predict that trend of mobile test automation tools moving towards advance hybrid approach of test automation enabling automatic system/UI object mapping, automatic transversal of apps, Seamless UI verifications, automatic Security, random interrupt and app store compliance certification in near future.

Thursday, June 5, 2014

Evolution of Mobile Test Automation Tools

With the evolution of mobile phones platforms from basic feature phones based on J2me/BREW to current date smartphones powered by Android, iOS and WP8, the mobile applications have evolved along with from simple few screen interactions to complex integrated business solutions.

In the feature phone day’s as the app’s were smaller in size and were built as few screen interactions to solve a particular business problem all the functional testing was done manually. As the underlining business logic started becoming complex, some of the developers started writing unit test scripts for the mobile app business logic classes & methods using the frameworks derived from JUnit such as JM Unit, B Unit and OC Unit. These unit test scripts were checked-in into the source control with the source code and integrated with continuous integration (CI) systems, to execute automatically on every built.
As the complexity and size of the mobile applications increased with device capabilities and processing power, the apps require testing of large number of test cases that cannot be tested manually in every release cycle and this created a need of a UI test automation for mobile applications. This need gave birth to Image comparison (OCR based tools) powered by VnC based tools and hardwired mobile phone dock’s with camera’s mounted over the device screens. These tools provided basic record and playback capabilities, with initial scripting support based on manually created on-screen Image Object mapping repo’s. As these tools had the capabilities of pushing key events and relaying the mobile screen content on a connected computer for execution of automation scripts, they are also used for testing automation of mobile application on remotely available device connected over internet i.e. the services like device-anywhere.

With the increase in popularity of iOS & Android platforms, people started using Instruments support provided by the iOS platform SDK xcode and Robotium for Android. Testing with Instruments required developing unit test type ‘scripts’ and executing then on emulators or usb/wifi connected devices. QA engineers have to often revert to development team for modification of these scripts to represent the modified or required new test scenarios as none of these frameworks provided the capabilities of recording the test scripts. These frameworks were able to fulfill the need of functional test automation for the mobile apps, but were not able to support with the need of UI test automation or execution of test scripts on remote devices in different geographies and operator networks.

Next came in the wave of Object comparison based test automation tool for mobile application; these tools require instrumentation of the application source code with their automation library. This library captures all the application objects, their properties and user actions at the time of recording and replays user actions at the time of execution to assert the object properties and give results. Some of this of tools allow to execute test scripts only on USB/wifi connected devices, while some others provides the capabilities execute test scripts on remote devices connected over internet and hosted anywhere across the globe. Few of them allow simulating desired environmental conditions at the time of recording and execution along with senor data simulation. They also provide features like adding assertions and regressions and editing of recorded test scripts for advance users.

Friday, March 7, 2014

Tune in to my Webinar on - Maturity of Mobile Test Automation: Approaches and Future Trends on 12th March 2014 http://www.impetus.com/webinar?eventid=76

Saturday, February 15, 2014

Nokia - Your Wish Is My App - Season 2


India’s only app reality show, Nokia - Your Wish Is My App is back. And Season 2 is going to be bigger and better. So, go ahead: think of a great app idea, share it with us and we'll make it for you. And the best part is, you don’t just get a chance to be featured on our NDTV show, you also get to be a millionaire!


Winners from Nokia - YWMA - Season 1 with Priyanka Chopra.
My snap - captured Live from NDTV YWMA telecast.
For more details visit:  http://www.nokia.com/in-en/yourwishismyapp/


 

Wednesday, November 20, 2013

Enterprise Mobility Trends – Mobile First Strategy

Enterprises have now started moving forward with Mobile first strategy, adopting Mobility as their primary IT platform to transform their business processes. They are migrating to the latest generation of smartphone and tablets using BYOD without compromising on enterprise data security or overlooking employee privacy. Graduating from email on mobile to business critical apps that can increase their competitiveness in the market and looking forward to identify new business models & user interactions that are possible only through mobile to provide exponential ROI.


What they do need the most – MDM, MEAP, MAM, MDP or other Enterprise Mobility enablers or a combination of all of them ?  

Stay tuned for more on this topic... 

Saturday, January 12, 2013

Test Automation focus on Mobile application testing


         Test Automation focus on Mobile application testing – Looking at the challenges of this space created due to network, platform & device diversities and in increasing complexity of mobile apps all traditional test automation tool are extending their capabilities in mobile space  On the mobile side till now, screen/image comparison tools were used for functional automation with platform like device anywhere and now a new type of mobile testing automation tool which work on object comparisons like mAutomate are getting lot of traction due to their capabilities of asynchronous remote testing of mobile application over-the-air and reporting of performance numbers along with test results.  

Friday, January 11, 2013

Enterprises to adopt hybrid app development strategy


1      Enterprises to adopt hybrid app development strategy – with high diversity in mobile devices and tablets which are expected to be used by enterprise workforce (with BYOD coming), the enterprises will be surely moving on from native apps to hybrid where they can support multiple device platforms and form factor diversity using single code base. The next generation of true hybrid application development platforms like eMobilizer will fuel this growth. They provide structured development of single codebase using HTML 5,CSS 3 and Java script which can blend together with native containers that can render it using platform native controls to provide platform specific User  experience.

Friday, January 4, 2013

Five major trends in Mobile for 2013

Mobile continues to be the key focus area of growth in the ecosystem around us. The growing internet traffic from various mobile devices had forced all business consultants to focus on mobile as a major channel for delivery of services and reach-out to their existing & prospective consumers.

Enterprises mobility is no more restricted to email/exchange but are now focusing on mobility of their workforce and empowering it with mobile apps which can help them with quick response and faster decision making.

High end dual/quad core processors are getting popular on mobile/tablets, which allows for more complex applications to be developed for the diversified set of mobile device platforms starting now from iOS, Android to WP8 and BB10.

Five major trends that I can predict for 2013 and you all will see are:
  1. Enterprises to adopt hybrid app development strategy
  2. Test Automation focus on Mobile application testing 
  3. Customization of Android Tablets in various Industry verticals
  4. WP8 & BB10 will start showing their presence in consumer & Enterprise space
  5. BYOD: Bring Your Own Device

Stay tuned for more details on each of these above….


Connected Information Device Ecosystem and Moving Trends


User is looking for synchronized Information across various connected devices including mobile and non-mobile devices. This leads to the emergence of new ‘connected’ information devices ranging from Smart televisions to personal hand-held devices. This multimode information delivery system empowers the ‘user’ to be more productive. Switching frequently from one connected device to other, User expects the application to manage its session & state for the user to continue on the other device. This trend creates an ‘ecosystem’ – comprising the matrix of devices along with the latest and authenticated Information flowing through for each User.  

User expects consistent UX of an application across all devices, and does not want a new learning curve for each device. On the other side, Enterprise App Providers’ are exploring the way to manage single codebase for each delivery platform and want to hold their ‘User’ keeping the cost of production low. This scenario has pushed towards ‘Technology Neutral’ UI engineering to deliver consistent UX irrespective of the end device. 

True Hybrid app development frameworks like eMobilizer are available in the market now that actually blends the platform independent HTML based UI components and render them on the target platform using native UI controls, to not only match the UI look&feel of the target platform but also provide platform specific User experience to the end users - using single platform neutral code base.

Introduction of HTML5 and the blend of mark-up languages with ‘scripted programs’ opens up a new horizon for delivering ‘smart’ and stable interfaces. Cloud powered Smart Hybrid Application architecture adds a new dimension to handle the aspect of application delivery and device computational power.

Emergence of devices like Smart TV - promotes the fusion of media with information. On the other side, social platform promotes user to be connected to each other. This inter fusion of these two worlds creates a new space in the world of Information Technology, Media and Entertainment. Businesses are looking forward to take advantage of getting connected to new and prospective customers and keen to be ‘present’ on every possible information device in the ‘ecosystem’.

Trends show that Users not only expect latest Information, but want authenticated personal data/information for instant interpretation and consumption to enhance productivity. This trend leads to Interface designs to ease out the user while interacting with large volumes of information. On the other hand, user wants to secure his personal/private information, so the security aspect of the devices in ‘connected device ecosystem’ is really going to be a challenging area.

We all have seen how web apps have been extended to mobile & Smartphones in the past, and now all of them are quickly moving to iPad and other tablets. Current forecast indicate 350 million connected TVs set to be sold by 2015 and related TV applications are predicted to generate a remarkable $1.7 Billion in annual revenue by 2013.  This will force all successful connected apps to extend to smart TV and touch screen based business TVs. 

Monday, March 7, 2011

My Video Interview at Mobile World Congress 2011 @ Barcenola

Memory Management (m-Cube Level 1)

Memory is one of the main resources for mobile devices. Managing this resource in an optimum manner is one of the main challenges for mobile application developers… Even though there are numerous devices in the market today that have good memory capacity… it is still important that the memory management is not neglected.
While developing mobile applications, one should always use optimal solution for memory usage. For instance, if applications want to display an image on the screen, then using PNG format instead of BMP is advised..

If a single application is used for multiple screen resolution devices, then all the resources should be downloaded from the server at the first launch. This way… the application need not increase its size by packing all resources of different screen sizes together in the final distributable.

If the application want to display a tile pattern in the background of the screen.. it will make more sense to use a small image and render it multiple times on the screen to create the impression of a big image. This way, the applications can reduce the actual memory required to store that big image and it will help in scalability of the app to other screen resolutions.

Also … applications should consider memory fragmentation rules as to allocate memory in the power of 2.
let’s suppose it would require 15 bytes to store a string, applications should allocate 16 bytes (2^4) as it would be easier to add/delete those memory blocks.
Also, try to allocate large chunks rather than small ones. For example, instead of allocating a single object, allocate an array of objects at once and then start the processing the same.
Another factor is Lazy loading, also known as dynamic function loading. Here, applications do not load all the components by default into the memory when a program is started…
In lazy loading, all dependent components will be loaded as and when required by the application. It can be used to improve the performance of an application, if most of the dependent components are not used together on a single screen but are required at different points in the application flow.

All mobile applications should ensure that they do not use more memory than actually necessary.
Memory management should also adhere to the guidelines of the corresponding OS. For example, an iPhone app should follow the guidelines for using an AUTORELEASE POOL.
If the applications want to store a received object completely in an instance variable, then they must retain or copy it. They should generally not use weak references and decide where they would require a Deep Copy of objects and where a shallow copy will do.

Thursday, November 25, 2010

Interrupt handling (m-cube: Level 1)

I think interrupt handling is one of the crucial parts of any mobile solution.
So many times it happens that while running a mobile app, there are interruptions such as an Incoming Calls, Text Messages, low memory or a low battery notification. A good mobile solution must be able to handle these notifications gracefully… and without any disruption. Few of the important aspects to be considered here are
• Application suspend and resume should be handled properly especially for incoming calls and Text Messages.
• The UI and media, such as images, sounds, context pointers should be released on SUSPEND event.
• Low memory notification should be given highest priority and unused memory should be release immediately.
• Suspend routine should be small and must not consume time.
• Object Serialization/De-serialization and state management should be considered.
• Context sensitive handlers should execute data processing in case of interrupt handling.
• Thread safe the execution of processes, so that the UI threads will be in a sleep state until interrupt is executed.

Every mobile platform has its own recommendation for interrupt handling. For example, in the iPhone Applications, the low memory notifications must be appropriately handled and necessary steps should be taken like cleaning up the stale resources.

However, if the iphone application is data centric, the “Application state management” should be present. This will be required to handle the premature exit of the application; for example, if the last session of application is closed abruptly, the application should be able to serialize its state before exit, and when the same application is accessed, it should initiate from the same point.
Similarly in BREW applications, “Suspend and resume behavior” is one of the very important recommendation of NSTL TBT certification. As per the NSTL guidelines, BREW application must suspend itself on notification of incoming call and must resume from same point after the call is finished.

In the case of a client-server based mobile application, the app must have ability to check network connectivity (GPRS or WI-FI). If the connectivity is not available, then the application should keep information (to be synced with server) in some local storage and sync it with the server when the network is available next time.

For mobile devices like iPhone, iPad, Windows mobile phones, that supports bolth..landscape and portrait modes, the application should be able to provide the required support with the help of appropriate delegates/ events.

Wednesday, November 24, 2010

Graphics & UI (m-cube: Level 1)

Graphics & UI have always played a very important role in mobile applications.
I believe that it is essential for the application’s UI design and flow to cover the business needs effectively… and deliver quality user experience in terms of interface and design.

The UI should be compatible to the native applications so that the user finds it easy to operate. For example on RIM Blackberry devices, you can see that the native email client uses Up & Down indicator instead of a scrollbar. Hence, on all carrier-grade Blackberry apps you will see similar design.

UI is the front interface of any application by which the user interacts with it. Application’s success depends largely on the UI’s ease of use and intuitiveness.
Right from the plain vanilla J2ME/BREW devices to the iPhone and Android devices, every platform has certain recommendations for UI. A typical mobile application must follow certain guidelines strictly.. let me discuss some them with you;
• iPhone OS provides guidelines name as Human Interface Guidelines.
• Android also recommends a set of best practices related with “App Widget Design”, “Menu Design” etc.
• Every certification (like NSTL TBT certification for BREW apps, Java Verified for J2ME apps, Windows Logo Certification for WinMo apps) recommends best practices for UI designing.
if a developer follows these UI guidelines from the development stage itself, he will find it very easy to get certification on the application.

I would also like to point out that though there are numerous touch-screen/non-touch handsets available under the same platform, the UI design should be independent for both these categories.

My advice to you as a developer will be to ensure that you are not using the UI of one platform for another… especially, if you are planning to cover multiple mobile platforms (like iOS, Android, J2ME, Symbian, WinMo, etc) for your applications. Every device comes with a specific usage style and the same must be considered while designing the UI.

I also recommend avoiding the use of heavy and large images. My preferable format is PNG.
I would also suggest that you ensure that you do not blend the images with code...as using separate resource files makes the white labeling of apps easier.
If you or any other developer were to follow these basic guidelines, you are sure to have an amazing user experience and end user response on your application product.

Tuesday, November 23, 2010

Certification (m-cube: Level 1)

Certification clearance is one of the basic requirements for all mobile applications…All mobile applications should adhere to the various certification guidelines and the same should be implemented from the design phase itself.

We have an assortment of testing authorities; NSTL for Brew, Symbian Signed for Symbian, Apple store for iPhone etc. These mobile platforms have their own guidelines and an application is required to follow the same. For Example- All BREW applications should have the functionality of the CLR key as a BACK key. Whereas, in case of your Symbian application, it is essential to incorporate an enable/disable feature if the application has auto-start functionality.

The iPhone OS defines the standard appearance of user interface elements and delivers consistent behavior that the users expect. iPhone makes it mandatory for the developers to follow their rules and ensures that the users get a uniform and satisfactory experience at all times.

Applications are increasingly being submitted to various app stores; we have OVI store for JAVA & Symbian technologies, BlackBerry App Store for BlackBerry, App store for iPhone, Windows Market Place for Windows Mobile, Android market for android... In such a scenario, the applications should also adhere to these store guidelines.

Cost is another very important motivation to follow best practices for certification. As we know, the certification authorities charge a specific amount based on the number of builds submitted for testing. The application developer should consider this factor before the application design and create single build for multiple devices. This would help in reducing the cost of the submission, and facilitate maintenance of the codes.

Saturday, November 20, 2010

Distribution (m-cube : Level 1)

An effective distribution strategy plays a vital role in the success of any mobile solution. As the applications’ distribution directly affects the billing procedure, it is imperative that this strategy is worked out in the design phase itself.

Distribution largely depends on the type of application.

Typically, consumer mobility applications may be distributed via App stores, carrier deck or app aggregators like (get jar & cell mania). These app stores have now reduced the entry barriers and helps us reach out to the market in no time, like OVI store - you can register as a publisher just in 1$, get your applications signed for free and launch to the audience in more then 190 countries in almost in no time.

For enterprise mobility, corresponding Mobile Device Management systems should be planned and configured according to the expected load.

In case of a client/server application, like a mobile banking or a stock market app that needs frequent interaction with the server..you may feel the need of distributing it from your own Deck i.e. Over the Air from your own Website.

This makes sense when it is complicated to share the revenues of these apps with carriers, aggregators and/or store fronts while providing a quality service to the customers. In setting up an OTA distribution infrastructure for these cases, we need to make sure of the following two things:

a- Auto-detection of device platform and model, so that the right build is delivered to the requesting mobile device – this is achieved by searching the WURFL database using user-agent string fetched from the mobile request.

b- Auto-upgrade infrastructure is required on both the client & server side, so that on every login, the server can compare the client build version with one available on OTA server and give notification of optional/mandatory upgrade to the client app.

Another way to reach the market quickly is to embed the application on the device before the same is launched. You can do this by making an alliance with a renowned handset manufacturer like Nokia, Samsung, Motorola, etc for this.

If the application is going pre-loaded on the device; our best practices suggests that you should just get a stub of your app pre-loaded on the device which fetches the most updated version of your application matching to the device default locale, when the end-user launches it for the first time.

Stay tuned, I will be posting the details of other attributes and best practices very soon.

Saturday, September 4, 2010

Impetus Mobile Maturity Model (m-CUBE)

The market for mobile applications hasn't reached mainstream adoption just yet, but is poised to hit the $9 billion mark by 2011; device makers, service providers, and software vendors all have some pie in this growth.

The projected growth is noteworthy, but there has been talk in the industry around issues that have kept mobile apps from gaining widespread adoption in the business world. It’s extremely vital to understand that why a killer idea doesn’t turn into a successful mobile solution, what’s missing.

Is it related to lack of understanding of the business objectives i.e. ignorance of short term and long term goals, or it’s because the usability not been considered while designing, or the sizes of business causing huge data traffic which is difficult to manage. We all are aware that technologies & device specific hurdles are very critical to understand in mobility. And when it comes to bringing mobility in enterprises, their IT departments are hesitant to implement any mobile applications without proven security that protects the home network and the user's device. Be it any issue, it becomes a major factor affecting mobile solution adoption & growth.

Looking at these challenges of mobility, Impetus has drawn best practices of mobility i.e. Mobile Maturity Model. We derived this model while handling & contributing to different releases of hundreds of award winning mobile products & services.










Impetus Mobile Maturity Model (m-CUBE) is a suite of best practices that we have identified. This addresses all horizontal and infrastructure design issues of mobility. 19 attributes of m-CUBE are very critical & should be considered in the various phases of mobile product development .i.e. analysis, design, development, and deployment & post deployment. Attributes under these phases are acknowledged in a manner such that they give direction for the development at a later stage. Our best practice ensures that all the parameters and their implications for a given set of mobile requirements are handled adequately and at the right time. While adopting mobile maturity model we design mobile application in a way it becomes easy to add new functionalities as per changing business needs.

Keep following me on this blog, I am going to take up these various dimensions of this maturity model one by one.

Wednesday, August 18, 2010

AirGuitar

AirGuitar

Another very innovate app; again from Impetus on OVI.
Have you ever imagined playing guitar without touching its strings!! Air Guitar brings this innovative fun to you, which is magical too. Yeah!! With Air Guitar you can simply play guitar without touching the stings, now Experience this amazing tool on your phone. With this you can Play & record your composition & save/set as ringtone too. Electrify your friends with this thrilling instrument in your hand.