Fuzzy and cross-app replay for smartphone apps

Document Type

Conference Proceeding

Publication Date

5-14-2016

Abstract

The behavior of smartphone apps is driven by input from sensors such as GPS, microphone, or camera. Hence the ability to construct test inputs, and send these inputs to the app is essential for testing. Leveraging our prior results in recording and replaying sensor inputs in Android apps we have constructed a new approach that helps automate smartphone app testing by capturing the input log (sensor stream) and using this log in two ways. First, we fuzz (alter) the log in a semantically-meaningful way: by applying principled transformations (e.g., changing GPS coordinates or navigation speed), a new input log is constructed, which represents a new test case. Second, we use the log captured in app A to test an app B which offers similar functionality, e.g., GPS navigation or image recognition. We have applied our approach to several widely-used Android apps and found that the approach is effective: it has revealed new bugs in four popular apps; has produced new test cases that increase coverage; and has produced test cases from logs originating in other apps.

Identifier

84974574051 (Scopus)

ISBN

[9781450341516]

Publication Title

Proceedings 11th International Workshop on Automation of Software Test Ast 2016

External Full Text Location

https://doi.org/10.1145/2896921.2896925

First Page

50

Last Page

56

Grant

CNS-1064646

Fund Ref

National Science Foundation

This document is currently not available here.

Share

COinS