Automated Soap Opera Testing Directed by LLMs and Scenario Knowledge: Feasibility, Challenges, and Road Ahead
Open Access
- 19 June 2025
- journal article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Software Engineering
- Vol. 2 (FSE) , 757-778
Abstract
Exploratory testing (ET) harnesses tester's knowledge, creativity, and experience to create varying tests that uncover unexpected bugs from the end-user's perspective. Although ET has proven effective in system-level testing of interactive systems, the need for manual execution has hindered large-scale adoption. In this work, we explore the feasibility, challenges and road ahead of automated scenario-based ET (a.k.a soap opera testing). We conduct a formative study, identifying key insights for effective manual soap opera testing and challenges in automating the process. We then develop a multi-agent system leveraging LLMs and a Scenario Knowledge Graph (SKG) to automate soap opera testing. The system consists of three multi-modal agents, Planner, Player, and Detector that collaborate to execute tests and identify potential bugs. Experimental results demonstrate the potential of automated soap opera testing, but there remains a significant gap compared to manual execution, especially under-explored scenario boundaries and incorrectly identified bugs. Based on the observation, we envision road ahead for the future of automated soap opera testing, focusing on three key aspects: the synergy of neural and symbolic approaches, human-AI co-learning, and the integration of soap opera testing with broader software engineering practices. These insights aim to guide and inspire the future research.Keywords
All Related Versions
This publication has 29 references indexed in Scilit:
- Efficiency Matters: Speeding Up Automated Testing with GUI Rendering Inference2023
- Fill in the Blank: Context-aware Automated Text Input Generation for Mobile GUI Testing2023
- Retrieval-Based Prompt Selection for Code-Related Few-Shot Learning2023
- V2S: A Tool for Translating Video Recordings of Mobile App Usages into Replayable Scenarios2021
- Efficient and effective exploratory testing of large-scale software systemsJournal of Systems and Software, 2021
- ReCDroid: Automatically Reproducing Android Application Crashes from Bug Reports2019
- Tapir: Automation Support of Exploratory Testing Using Model Reconstruction of the System Under TestIEEE Transactions on Reliability, 2018
- An experiment on the effectiveness and efficiency of exploratory testingEmpirical Software Engineering, 2014
- Are test cases needed? Replicated comparison between exploratory and test-case-based software testingEmpirical Software Engineering, 2013
- Exploratory testing: a multiple case study2005