skip to main content
10.1145/3524613.3527809acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Mobile GUI test script generation from natural language descriptions using pre-trained model

Published: 17 October 2022 Publication History

Abstract

GUI test scripts are valuable assets to guarantee the quality of mobile apps; however, manually writing executable GUI test scripts can incur huge cost. In this paper, we propose an approach to the generation of test scripts from the natural language descriptions, with the help of descriptions to locate elements and use the attributes of elements to select actions to construct the corresponding events. The construction of test scripts with the help of natural language descriptions can greatly reduce the burden of testers and is robust to changes in the position of GUI elements.

References

[1]
Google. 2022. guide of resources. https://developer.android.com/guide/topics/resources/providing-resources.
[2]
Gang Hu, Linjie Zhu, and Junfeng Yang. 2018. AppFlow: using machine learning to synthesize robust, reusable UI tests. In Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering. 269--282.
[3]
Yongjian Hu and Iulian Neamtiu. 2016. VALERA: an effective and efficient record-and-replay tool for android. In Proceedings of the International Conference on Mobile Software Engineering and Systems. 285--286.
[4]
Wing Lam, Zhengkai Wu, Dengfeng Li, Wenyu Wang, Haibing Zheng, Hui Luo, Peng Yan, Yuetang Deng, and Tao Xie. 2017. Record and replay for android: Are we there yet in industrial cases?. In Proceedings of the 2017 11th joint meeting on foundations of software engineering. 854--859.
[5]
Stas Negara, Naeem Esfahani, and Raymond Buse. 2019. Practical android test recording with espresso test recorder. In 2019 IEEE/ACM 41st International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP). IEEE, 193--202.
[6]
Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks. arXiv preprint arXiv:1908.10084 (2019).

Cited By

View all
  • (2023)LLM for Test Script Generation and Migration: Challenges, Capabilities, and Opportunities2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security (QRS)10.1109/QRS60937.2023.00029(206-217)Online publication date: 22-Oct-2023
  1. Mobile GUI test script generation from natural language descriptions using pre-trained model

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    MOBILESoft '22: Proceedings of the 9th IEEE/ACM International Conference on Mobile Software Engineering and Systems
    May 2022
    154 pages
    ISBN:9781450393010
    DOI:10.1145/3524613
    • General Chair:
    • Leonardo Mariani,
    • Program Chairs:
    • Gemma Catolino,
    • Mei Nagappan
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    In-Cooperation

    • IEEE CS

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 17 October 2022

    Permissions

    Request permissions for this article.

    Check for updates

    Qualifiers

    • Research-article

    Conference

    MOBILESoft '22
    Sponsor:

    Upcoming Conference

    ICSE 2025

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)24
    • Downloads (Last 6 weeks)6
    Reflects downloads up to 20 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2023)LLM for Test Script Generation and Migration: Challenges, Capabilities, and Opportunities2023 IEEE 23rd International Conference on Software Quality, Reliability, and Security (QRS)10.1109/QRS60937.2023.00029(206-217)Online publication date: 22-Oct-2023

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media