Automated Soap Opera Testing Directed by LLMs and Scenario Knowledge: Feasibility, Challenges, and Road Ahead
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.
Authors
- Xiwei Xu (ORCID: https://orcid.org/0000-0002-2273-1862)
- Zhenchang Xing (ORCID: https://orcid.org/0000-0001-7663-1421)
- Liming Zhu (ORCID: https://orcid.org/0000-0001-5839-3765)
- Chunyang Chen (ORCID: https://orcid.org/0000-0003-2011-9618)
- Yanqi Su (ORCID: https://orcid.org/0000-0002-2410-3229)
- Chong Wang (ORCID: https://orcid.org/0000-0003-1424-6290)
- Qinghua Lu (ORCID: https://orcid.org/0000-0002-9466-1672)
Institutions
- Australian National University (AU)
- Commonwealth Scientific and Industrial Research Organisation (AU)
- Nanyang Technological University (SG)
- UNSW Sydney (AU)
- Heilbronn University (DE)
- Data61 (AU)
Publication Details
- Journal
- Proceedings of the ACM on software engineering.
- Published
- 2025-06-19
- DOI
- https://doi.org/10.1145/3715752
- Citations
- 1
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.31