CISPA
Browse
cispa_all_3034.pdf (872.59 kB)

Testing Apps With Real-World Inputs

Download (872.59 kB)
conference contribution
posted on 2023-11-29, 18:12 authored by Tanapuch Wanwarang, Nataniel Pereira Borges Jr., Leon BettscheiderLeon Bettscheider, Andreas ZellerAndreas Zeller
To test mobile apps, one requires realistic and coherent test inputs. The Link approach for Web testing has shown that knowledge bases such as DBPedia can be a reliable source of semantically coherent inputs. In this paper, we adapt and extend the Link approach towards test generation for mobile applications: (1) We identify and match descriptive labels with input fields, based on the Gestalt principles of human perception; (2) We then use natural language processing techniques to extract the concept associated with the label; (3) We use this concept to query a knowledge base for candidate input values; (4) We cluster the UI elements according to their functionality into input and actions, filling the input elements first and then interacting with the actions. Our evaluation shows that leveraging knowledge bases for testing mobile apps with realistic inputs is effective. On average, our approach covered 9% more statements than randomly generated text inputs.

History

Preferred Citation

Tanapuch Wanwarang, Nataniel Jr., Leon Bettscheider and Andreas Zeller. Testing Apps With Real-World Inputs. In: Automation of Software Test (AST). 2020.

Primary Research Area

  • Secure Connected and Mobile Systems

Name of Conference

Automation of Software Test (AST)

Legacy Posted Date

2020-03-10

Open Access Type

  • Unknown

BibTeX

@inproceedings{cispa_all_3034, title = "Testing Apps With Real-World Inputs", author = "Wanwarang, Tanapuch and Jr., Nataniel Pereira Borges and Bettscheider, Leon and Zeller, Andreas", booktitle="{Automation of Software Test (AST)}", year="2020", }

Usage metrics

    Categories

    No categories selected

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC