Science
Evaluating LLM-Generated Test Scripts, Manual Test Development, and Capture-and-Replay Approaches for Testing XR Applications
Abstract
dc:description.abstractThe rapid advancement of Extended Reality (XR) technologies, driven by substantial improvements in hardware and software, has accelerated the development and deployment of XR applications. A critical yet challenging stage in software development is testing, which is often labor-intensive and time-consuming. As a result, testing may be partially or entirely overlooked, leading to potential issues. To address these challenges, various software testing methodologies and tools have been developed to streamline the process. This research introduces a generative AI-based testing tool, TestGPT, specifically designed for Unity 3D applications. The tool automatically generates test scripts based on its analysis of Unity 3D scenes provided by testers and test scenarios written in natural language. To evaluate our proposed approach, we conducted an empirical study with 15 participants who had experience in Unity development, comparing three testing methods: Manual Test Development, Capture- and-Replay, and our generative AI approach. All participants applied each method to a sample project across multiple testing scenarios to assess their strengths and limitations. Quantitative performance metrics and qualitative user feedback were systematically analyzed. The results show that Manual Test Development offers high control and precision but lacks scalability for large projects; TestGPT is efficient for simple scenarios but less effective in complex contexts, especially without retaining the memory of previously generated test scripts; and Capture-and-Replay is intuitive and well-suited for regression testing but sensitive to UI changes. These findings highlight the trade-offs between flexibility, efficiency, and adaptability, providing practical insights into the suitability of each method for XR application testing.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (MSc)
- Discipline thesis:degree_discipline
- Computer Science
- Grantor
- Science
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Modarressi, Seyed Nami
- Advisor dc:contributor.advisor
-
- Maurer, Frank
- Committee members dc:contributor.committeemember
-
- Krishnamurthy, Diwakar
- Costa Sousa, Mario
Subjects
dc:subject × 6Rights
dc:rights- Statement dc:rights
-
- Unless otherwise indicated, this material is protected by copyright and has been made available with authorization from the copyright owner. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Dc Identifier Citation
- Modarressi, S. N. (2025). Evaluating LLM-generated test scripts, manual test development, and capture-and-replay approaches for testing XR applications (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.