Efficiency matters: Speeding up automated testing with GUI rendering inference

Sidong Feng, Mulong Xie, Chunyang Chen

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

9 Citations (Scopus)

Abstract

Due to the importance of Android app quality assurance, many automated GUI testing tools have been developed. Although the test algorithms have been improved, the impact of GUI rendering has been overlooked. On the one hand, setting a long waiting time to execute events on fully rendered GUIs slows down the testing process. On the other hand, setting a short waiting time will cause the events to execute on partially rendered GUIs, which negatively affects the testing effectiveness. An optimal waiting time should strike a balance between effectiveness and efficiency. We propose AdaT, a lightweight image-based approach to dynamically adjust the inter-event time based on GUI rendering state. Given the real-time streaming on the GUI, AdaT presents a deep learning model to infer the rendering state, and synchronizes with the testing tool to schedule the next event when the GUI is fully rendered. The evaluations demonstrate the accuracy, efficiency, and effectiveness of our approach. We also integrate our approach with the existing automated testing tool to demonstrate the usefulness of AdaT in covering more activities and executing more events on fully rendered GUIs.

Original languageEnglish
Title of host publicationProceedings - 2023 IEEE/ACM 45th International Conference on Software Engineering, ICSE 2023
EditorsLori Pollock, Massimiliano Di Penta
Place of PublicationPiscataway NJ USA
PublisherIEEE, Institute of Electrical and Electronics Engineers
Pages906-918
Number of pages13
ISBN (Electronic)9781665457019
ISBN (Print)9781665457026
DOIs
Publication statusPublished - 2023
EventInternational Conference on Software Engineering 2023 - Melbourne, Australia
Duration: 15 May 202316 May 2023
Conference number: 45th
https://ieeexplore.ieee.org/xpl/conhome/10172484/proceeding (Proceedings)
https://conf.researchr.org/home/icse-2023 (Website)

Conference

ConferenceInternational Conference on Software Engineering 2023
Abbreviated titleICSE 2023
Country/TerritoryAustralia
CityMelbourne
Period15/05/2316/05/23
Internet address

Keywords

  • Efficient android GUI testing
  • GUI rendering
  • Machine Learning

Cite this