Mobile and Ubiquitous Systems: Computing, Networking, and Services. 10th International Conference, MOBIQUITOUS 2013, Tokyo, Japan, December 2-4, 2013, Revised Selected Papers

Research Article

- A Unified App Instrumentation and Automated Playback Framework for Testing Mobile Applications

Download
819 downloads
  • @INPROCEEDINGS{10.1007/978-3-319-11569-6_37,
        author={Vikrant Nandakumar and Vijay Ekambaram and Vivek Sharma},
        title={
                   - A Unified App Instrumentation and Automated Playback Framework for Testing Mobile Applications},
        proceedings={Mobile and Ubiquitous Systems: Computing, Networking, and Services. 10th International Conference, MOBIQUITOUS 2013, Tokyo, Japan, December 2-4, 2013,  Revised Selected Papers},
        proceedings_a={MOBIQUITOUS},
        year={2014},
        month={12},
        keywords={Mobile applications Instrumentation Android iOS Testing Functional Performance Accessibility},
        doi={10.1007/978-3-319-11569-6_37}
    }
    
  • Vikrant Nandakumar
    Vijay Ekambaram
    Vivek Sharma
    Year: 2014
    - A Unified App Instrumentation and Automated Playback Framework for Testing Mobile Applications
    MOBIQUITOUS
    Springer
    DOI: 10.1007/978-3-319-11569-6_37
Vikrant Nandakumar1,*, Vijay Ekambaram1,*, Vivek Sharma1,*
  • 1: IBM Research - India
*Contact email: vikrant.nandakumar@in.ibm.com, vijaye12@in.ibm.com, vivek.irl@in.ibm.com

Abstract

Mobile Test Automation is gaining significant importance for an app-tester because it helps to alleviate the voluminous effort and time associated in thoroughly testing an application. Challenges like diversity in mobile hardware, multiple operating systems, ever-increasing application complexity and high volume of test cases etc. reiterate the importance of exploiting automation techniques for mobile application testing. In order to exhaustively capture user actions during the record-phase, faithfully reproduce those actions during playback-phase and also to capture the relevant metrics while playing back, instrumentation of the (AUT) becomes an imperative process. However, the type and level of instrumentation is different and is very specific to the category of testing which has to be automated. This paper presents , a unified framework for instrumenting mobile applications to make them ready for functional, performance and accessibility testing. This framework allows instrumenting the application to get it ready for either a single category of testing or a combination of two or more of these categories, with multiple optional features for each category. In addition to this, given a test script, the framework also supports automated playback of instrumented applications. has been deployed and tested against some popular applications from (Android apps) and some IBM in-house iOS applications. Results indicate that this framework is able to successfully instrument a sizeable number of applications and effectively playback user-defined test cases automatically to collect relevant metrics/results corresponding to each category of testing.