跳到主要导航 跳到搜索 跳到主要内容

ProphetAgent: Automatically Synthesizing GUI Tests from Test Cases in Natural Language for Mobile Apps

  • Qichao Kong
  • , Zhengwei Lv
  • , Yiheng Xiong
  • , Jingling Sun*
  • , Ting Su*
  • , Dingchun Wang
  • , Letao Li
  • , Xu Yang
  • , Gang Huo
  • *此作品的通讯作者
  • East China Normal University
  • ByteDance Ltd.
  • University of Electronic Science and Technology of China

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

GUI tests is crucial for ensuring software quality and user satisfaction of mobile apps. In practice, companies often maintain extensive test cases written in natural language. Testers need to convert these test cases into executable scripts for regression and compatibility testing. Requirement changes or version updates often necessitate the addition and modification to these test cases. Thus, when faced with large volumes of test cases and regular updates, this process becomes costly, which is a common challenge across the industry. To address this issue, this paper proposes ProphetAgent that can automatically synthesize executable GUI tests from the test cases written in natural language. ProphetAgent first constructs a Clustered UI Transition Graph (CUTG) enriched with semantic information, then leverages large language models to generate the executable test case based on CUTG and test cases written in natural language. Experiment results show that ProphetAgent achieved a 78.1% success rate across 120 test cases in Douyin, Doubao, and six open-source apps, surpassing existing automated approaches (21.4% for AppAgent and 32.5% for AutoDroid). Additionally, statistical data from ByteDance’s testing platform show that ProphetAgent increased testers’ efficiency in synthesizing UI tests by 260%.

源语言英语
主期刊名FSE Companion 2025 - Companion Proceedings of the 33rd ACM International Conference on the Foundations of Software Engineering
编辑Jingyue Li
出版商Association for Computing Machinery
174-179
页数6
ISBN(电子版)9798400712760
DOI
出版状态已出版 - 28 7月 2025
活动33rd ACM International Conference on the Foundations of Software Engineering, FSE Companion 2025 - Trondheim, 挪威
期限: 23 6月 202527 6月 2025

出版系列

姓名Proceedings of the ACM SIGSOFT Symposium on the Foundations of Software Engineering
ISSN(印刷版)1539-7521

会议

会议33rd ACM International Conference on the Foundations of Software Engineering, FSE Companion 2025
国家/地区挪威
Trondheim
时期23/06/2527/06/25

指纹

探究 'ProphetAgent: Automatically Synthesizing GUI Tests from Test Cases in Natural Language for Mobile Apps' 的科研主题。它们共同构成独一无二的指纹。

引用此