paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Beyond Manual Modeling: Automating GUI Model Generation Using Design Documents

超越手工建模:利用设计文档自动生成 GUI 模型
ASE Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering2024匹配度 2/10 · 论文聚焦用设计文档和计算机视觉模型自动生成 IFML GUI 模型以支持基于模型的测试,既未涉及静态分析、Agentic 程序、浮点程序分析或贝叶斯程序分析,其 AI 组件也非 LLM/Agent,因此与研究画像的核心方向基本无关。引用 1 inbox
Shaoheng Cao, Renyi Chen, Minxue Pan, Wenhua Yang, Xuandong Li
crossref: 2026-09-12

AI 速览

一句话:提出 DemGen,利用设计文档和视觉模型自动生成 IFML GUI 模型,并评估其支持基于模型测试的实用性。

GUI 模型描述应用的外观与交互,但手工构建成本高且易错;已有自动化方法多通过逆向工程从代码抽象,所得模型与代码一致,难以用于基于模型的测试(MBT)发现功能缺陷,同时 UI/UX 设计文档常被忽视。本文提出 DemGen,以设计文档为输入,结合计算机视觉预训练模型与规则校正机制识别 GUI 元素及其预期行为,并转换为符合 IFML 的正式 GUI 模型。作者与产业伙伴在商业应用上评估了元素识别和模型生成的效果与效率,并比较手工、自动与混合建模,分析生成模型在 MBT 任务中的实用性。

问题
如何自动生成高质量 GUI 模型,避免手工建模的高成本与错误,并克服现有逆向工程方法因模型与代码一致而难以支持 MBT 发现功能问题、且忽视设计文档的局限。
方法
DemGen 利用 UI/UX 设计文档,采用计算机视觉预训练模型识别 GUI 元素及预期行为,并通过规则校正机制纠错,最终转换为 IFML 形式的正式 GUI 模型。
评估
与产业伙伴在商业应用上评估 GUI 元素识别和模型生成的有效性与效率,并对手工、自动和混合建模进行比较,考察生成模型在 MBT 任务中的实用性。
原文摘要(Abstract)

GUI models encapsulate the desired visual appearance and interactive behaviors of applications, facilitating various downstream tasks like model-based testing (MBT). Manually constructing high-quality GUI models is not only labor-intensive and costly but also prone to errors, particularly as applications evolve and require frequent model updates. Existing automated approaches for GUI model generation heavily rely on reverse engineering, where the models are abstractions of the code. As a result, they are not suitable for MBT to test functional issues because they are consistent with the code. Meanwhile, valuable development artifacts such as UI/UX design documents, which reflect design intentions, are often overlooked. In this paper, a novel approach named DemGen is proposed to seek a unique pathway for GUI model generation. Leveraging design documents, DemGen employs computer vision pre-trained models in conjunction with a rule-based correction mechanism to identify GUI elements and their intended behaviors as defined in those documents. Subsequently, the identified content is transformed into a formal GUI model adhering to the IFML modeling language. Our evaluation, conducted in collaboration with an industry partner on commercial applications, demonstrates the effectiveness and efficiency of DemGen in GUI element recognition and GUI model generation. Moreover, we conducted a comparative analysis of manual, automated, and hybrid modeling techniques, assessing the usefulness of generated models on MBT tasks.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8410,
  title = {Beyond Manual Modeling: Automating GUI Model Generation Using Design Documents},
  author = {Shaoheng Cao and Renyi Chen and Minxue Pan and Wenhua Yang and Xuandong Li},
  booktitle = {ASE},
  year = {2024},
  doi = {10.1145/3691620.3695032}
}