Writing UI tests manually requires significant effort. Several recent approaches have tried to address this problem in mobile apps: by exploiting the similarities of two different apps within the same domain (e.g., shopping apps) on a single platform (primarily Android), they have shown that it is possible to transfer tests that exercise similar functionality between the apps. An offshoot of this work has recently yielded a technique that transfers UI tests uni-directionally, from an open-source iOS app to the same app implemented for Android. This paper presents MAPIT, a technique that expands the existing body of work in three important ways: (1) MAPIT enables bi-directional UI test transfer between pairs of “sibling” Android and iOS apps; (2) MAPIT does not assume that the apps’ source code is available; (3) MAPIT is capable of transferring tests containing oracles in addition to UI events. MAPIT runs existing tests on a “source” app and builds an internal, partial model of the app corresponding to each test. The model comprises the user-visible features of the app (namely, screenshot bitmaps), the obtainable properties of each screenshot’s constituent elements (e.g., widget IDs), and the labeled transitions between the screenshots. MAPIT uses this model to determine the corresponding information on the “target” app and generates an equivalent test, via a novel approach that leverages computer vision and natural language processing. Our evaluation on a diverse set of widely used, closed-source sibling Android and iOS apps shows that MAPIT is feasible, accurate, and useful in transferring UI tests across platforms.
Thu 18 NovDisplayed time zone: Hobart change
11:00 - 12:00 | |||
11:00 20mTalk | Automated Repair for Size-Based Inaccessibility Issues in Mobile Apps Research Papers Ali S. Alotaibi University of Southern California, Paul T. Chiou University of Southern California, William G.J. Halfond University of Southern California | ||
11:20 20mTalk | Mining Cross-Domain Apps for Software Evolution: A Feature-based Approach Research Papers MD KAFIL UDDIN Swinburne University of Technology, Qiang He Swinburne University of Technology, Jun Han Swinburne University of Technology, Caslon Chua Swinburne University of Technology | ||
11:40 20mTalk | UI Test Migration Across Mobile Platforms Research Papers Saghar Talebipour University of Southern California, Yixue Zhao University of Massachusetts Amherst, Luka Dojcilovic University of Southern California, Chenggang Li University of Southern California, Nenad Medvidović University of Southern California, USA Pre-print |