BIROn - Birkbeck Institutional Research Online

    Integrating behavioral semantic analysis in usage-based equivalent tests generation for mobile applications

    Liu, S. and Zhou, Y. and Han, Tingting and Chen, Taolue (2025) Integrating behavioral semantic analysis in usage-based equivalent tests generation for mobile applications. Science of Computer Programming 242 , ISSN 0167-6423.

    This is the latest version of this item.

    [img] Text
    scp25.pdf - Published Version of Record
    Restricted to Repository staff only

    Download (2MB)

    Abstract

    Graphical user interface (GUI) testing is crucial to ensure the expected behaviors of mobile applications (apps). The burgeoning automated usage-based testing seeks to generate simulated human interactions tailored to functional features of apps. However, the difficulties in understanding UI semantics, along with the multiple implementation alternatives, significantly restrict the ability to exercise a specified usage. In this paper, we propose GUEST (Generating Usage-based Equivalent TeSTs), which automates the generation of multiple equivalent tests for GUI usage to help developers more thoroughly test mobile apps' features. GUEST integrates textual information from state pages with the UI structure to express operational GUI widgets with semantic information. It leverages the semantic coverage of edge links within the state transition graph of state-machine encoding for the usage to match canonical screens for the current state page. To exploit behavioral semantics, GUEST treats the state transition graph as a social network and performs centrality analysis to identify key canonical screens in the state transition graph. By utilizing the intimacy between key screens and candidate widgets' reachable screens, GUEST grants higher priority to frequently used and more accessible actions. We evaluate GUEST on desired usages across 22 popular apps and the results reveal that GUEST can successfully exercise the desired usage in 88% of the tests and outperform the state-of-the-art baseline method in both screen and widget classification performance.

    Metadata

    Item Type: Article
    School: Birkbeck Faculties and Schools > Faculty of Science > School of Computing and Mathematical Sciences
    Depositing User: Tingting Han
    Date Deposited: 03 Apr 2025 13:30
    Last Modified: 10 Apr 2025 08:32
    URI: https://eprints.bbk.ac.uk/id/eprint/55302

    Available Versions of this Item

    • Integrating behavioral semantic analysis in usage-based equivalent tests generation for mobile applications. (deposited 03 Apr 2025 13:30) [Currently Displayed]

    Statistics

    Activity Overview
    6 month trend
    1Download
    6 month trend
    11Hits

    Additional statistics are available via IRStats2.

    Archive Staff Only (login required)

    Edit/View Item
    Edit/View Item