arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.06837cs.AIcs.SE
收藏

一种利用大语言模型表示企业Web应用结构以服务于智能质量工程的高效方法

An efficient approach to represent enterprise web application structure using Large Language Model in the service of Intelligent Quality Engineering

Atalgo Computing Pty Ltd(阿塔尔戈计算私人有限公司)

Zaber Al Hassan Ayon, Gulam Husain, Roshankumar Bisoi, Waliur Rahman, Dr Tom Osborn

AI总结:

本研究提出一种基于大语言模型的企业Web应用分层表示方法,含五个核心阶段,经两个真实应用验证可提升测试用例生成质量与测试效率,助力规模化智能质量工程。

摘要:

本文提出了一种利用大语言模型(LLMs)表示企业Web应用结构的新颖方法,以实现规模化的智能质量工程。我们引入了一种分层表示方法,该方法在保留Web应用内部复杂关系与交互的同时,优化了LLMs的少样本学习能力。该方法包含五个关键阶段:全面DOM分析、多页面综合、测试套件生成、执行以及结果分析。我们的方法论通过开发一种结构化格式,解决了生成式AI技术在自动化软件测试中应用的现有挑战,该格式可让LLMs通过上下文学习理解Web应用架构。我们使用两个不同的Web应用评估了该方法:一个电商平台(Swag Labs)和一个部署在Atalgo工程环境中的医疗保健应用(MediBox)。结果显示,二者的自动化测试成功率分别为90%和70%,且在多项评估标准下测试用例均具有较高的相关性得分。研究结果表明,我们的表示方法显著提升了LLMs生成上下文相关测试用例的能力,整体上提供了更好的质量保障,同时减少了测试所需的时间与人力。

英文摘要:

This paper presents a novel approach to represent enterprise web application structures using Large Language Models (LLMs) to enable intelligent quality engineering at scale. We introduce a hierarchical representation methodology that optimizes the few-shot learning capabilities of LLMs while preserving the complex relationships and interactions within web applications. The approach encompasses five key phases: comprehensive DOM analysis, multi-page synthesis, test suite generation, execution, and result analysis. Our methodology addresses existing challenges around usage of Generative AI techniques in automated software testing by developing a structured format that enables LLMs to understand web application architecture through in-context learning. We evaluated our approach using two distinct web applications: an e-commerce platform (Swag Labs) and a healthcare application (MediBox) which is deployed within Atalgo engineering environment. The results demonstrate success rates of 90\% and 70\%, respectively, in achieving automated testing, with high relevance scores for test cases across multiple evaluation criteria. The findings suggest that our representation approach significantly enhances LLMs' ability to generate contextually relevant test cases and provide better quality assurance overall, while reducing the time and effort required for testing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑