用于测试脚本生成与迁移的大语言模型:挑战、能力与机遇
LLM for Test Script Generation and Migration: Challenges, Capabilities, and Opportunities
AI总结:
本文研究大语言模型在移动应用测试脚本生成与跨平台、跨应用迁移中的能力与挑战,通过评估其对设备差异、平台行为及界面架构的适应性,验证其提升测试自动化水平和软件开发效率的潜力。
摘要:
本文研究了大语言模型(LLM)在移动应用测试脚本生成领域的应用。测试脚本生成是软件测试的重要组成部分,能够实现重复性测试任务的高效、可靠自动化。然而,现有的生成方法常常面临诸多局限,例如难以在不同设备、平台和应用之间准确捕获并复现测试脚本。这些挑战源于屏幕尺寸、输入方式、平台行为、API不一致性以及应用架构等方面的差异。克服这些局限对于实现稳健且全面的测试自动化至关重要。通过利用LLM的能力,我们旨在应对这些挑战,并探索其作为测试自动化通用工具的潜力。我们研究了LLM在准确捕获和生成测试脚本的同时,对不同设备和系统的适应能力。此外,我们通过评估其处理操作系统差异和平台特定行为的能力,考察了其跨平台生成能力。进一步地,我们探索了LLM在跨应用迁移中的应用,即基于现有脚本在不同应用和软件环境之间生成测试脚本。在整个研究过程中,我们分析了其对各种用户界面、应用架构和交互模式的适应性,以确保脚本生成的准确性和兼容性。本研究的发现有助于理解LLM在测试自动化中的能力。最终,本研究旨在改进软件测试实践,帮助应用开发者实现更高水平的软件质量和开发效率。
英文摘要:
This paper investigates the application of large language models (LLM) in the domain of mobile application test script generation. Test script generation is a vital component of software testing, enabling efficient and reliable automation of repetitive test tasks. However, existing generation approaches often encounter limitations, such as difficulties in accurately capturing and reproducing test scripts across diverse devices, platforms, and applications. These challenges arise due to differences in screen sizes, input modalities, platform behaviors, API inconsistencies, and application architectures. Overcoming these limitations is crucial for achieving robust and comprehensive test automation. By leveraging the capabilities of LLMs, we aim to address these challenges and explore its potential as a versatile tool for test automation. We investigate how well LLMs can adapt to diverse devices and systems while accurately capturing and generating test scripts. Additionally, we evaluate its cross-platform generation capabilities by assessing its ability to handle operating system variations and platform-specific behaviors. Furthermore, we explore the application of LLMs in cross-app migration, where it generates test scripts across different applications and software environments based on existing scripts. Throughout the investigation, we analyze its adaptability to various user interfaces, app architectures, and interaction patterns, ensuring accurate script generation and compatibility. The findings of this research contribute to the understanding of LLMs' capabilities in test automation. Ultimately, this research aims to enhance software testing practices, empowering app developers to achieve higher levels of software quality and development efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。