VISCA:面向自动化端到端测试的组件抽象推断方法
VISCA: Inferring Component Abstractions for Automated End-to-End Testing
AI总结:
VISCA通过启发式分割与多模态LLM分析将网页抽象为层次化UI组件,从而提升端到端测试生成质量,特征覆盖率达92%,超越现有最佳方法16%。
摘要:
为基于大语言模型(LLM)的自动化端到端(E2E)测试生成提供最优上下文输入是一项重大挑战,现有方法对此处理不足。本文提出视觉-语义组件抽象器(VISCA),一种将网页转换为层次化、语义丰富的组件抽象的新方法。VISCA首先利用一种新颖的基于启发式的分割方法将网页划分为候选片段。随后,这些候选片段通过多模态LLM驱动的分析进行分类和上下文信息提取,从而将其抽象为预定义的用户界面(UI)组件词汇表。这种以组件为中心的抽象提供了比先前方法更有效的上下文基础,能够实现更准确的特征推断和鲁棒的E2E测试用例生成。我们的评估表明,VISCA生成的测试用例平均特征覆盖率达到92%,比最先进的基于LLM的E2E测试生成方法高出16%。
英文摘要:
Providing optimal contextual input presents a significant challenge for automated end-to-end (E2E) test generation using large language models (LLMs), a limitation that current approaches inadequately address. This paper introduces Visual-Semantic Component Abstractor (VISCA), a novel method that transforms webpages into a hierarchical, semantically rich component abstraction. VISCA starts by partitioning webpages into candidate segments utilizing a novel heuristic-based segmentation method. These candidate segments subsequently undergo classification and contextual information extraction via multimodal LLM-driven analysis, facilitating their abstraction into a predefined vocabulary of user interface (UI) components. This component-centric abstraction offers a more effective contextual basis than prior approaches, enabling more accurate feature inference and robust E2E test case generation. Our evaluations demonstrate that the test cases generated by VISCA achieve an average feature coverage of 92%, exceeding the performance of the state-of-the-art LLM-based E2E test generation method by 16%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。