Synthesis-Based Enhancement for GUI Test Case Migration
Yakun Zhang, Qihao Zhu, Jiwei Yan, Chen Liu, Wenjie Zhang, Yifan Zhao, Dan Hao, Lu Zhang
摘要
GUI test case migration is the process of migrating GUI test cases from a source app to a target app for a specific functionality. However, test cases obtained via existing migration approaches can hardly be directly used to test target functionalities and typically require additional manual modifications. This problem may significantly impact the effectiveness of testing target functionalities and the practical applicability of migration approaches. In this paper, we propose MigratePro, the first approach to enhancing GUI test case migration via synthesizing a new test case based on multiple test cases for the same functionality migrated from various source apps to the target app. The aim of MigratePro is to produce functional test cases with less human intervention. Specifically, given multiple migrated test cases for the same functionality in the target app, MigratePro first combines all the GUI states related to these migrated test cases into an overall state-sequence. Then, MigratePro organizes events and assertions from migrated test cases according to the overall state-sequence and endeavors to remove the should-be-removed events and assertions, while also incorporating some connection events in order to make the should-be-included events and assertions executable. Our evaluation on 30 apps, 34 functionalities, and 127 test cases shows that MigratePro improves the capability of three representative migration approaches (i.e., Craftdroid, AppFlow, ATM), successfully improving testing the target functionalities by 86%, 333%, and 300%, respectively. These results underscore the generalizability of MigratePro for effectively enhancing migration approaches.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper4
- Automated Test Transfer across Android Apps using Large Language ModelsBenyamin Beyzaei, Saghar Talebipour, Ghazal Rafiei, Nenad Medvidovic 等ISSTA 2025 · 被引用 2 次
- Towards Automated Crowdsourced Testing via Personified-LLMShengcheng Yu, Yuchen Ling, Chunrong Fang, Zhenyu Chen 等FSE 2026 · 被引用 1 次
- Intention-Based GUI Test Migration for Mobile Apps using Large Language ModelsShaoheng Cao, Minxue Pan, Yuanhong Lan, Xuandong LiISSTA 2025
- IntentTester: Intent-Driven Multi-agent Framework for Cross-Library Test MigrationYi Gao, Ziyuan Zhang, Xing Hu, Xiaohu Yang 等FSE 2026
它引用的顶会 Paper7
- Reinforcement learning based curiosity-driven testing of Android applicationsMinxue Pan, An Huang, Guoxin Wang, Tian Zhang 等ISSTA 2020 · 被引用 166 次
- An Empirical Study of Functional Bugs in Android AppsYiheng Xiong, Mengqian Xu, Ting Su, Jingling Sun 等ISSTA 2023 · 被引用 40 次
- Layout and Image Recognition Driving Cross-Platform Automated Mobile TestingShengcheng Yu, Chunrong Fang, Yexiao Yun, Yang FengICSE 2021 · 被引用 40 次
- Semantic matching of GUI events for test reuse: are we there yet?Leonardo Mariani, Ali Mohebbi, Mauro Pezzè, Valerio TerragniISSTA 2021 · 被引用 34 次
- FrUITeR: a framework for evaluating UI test reuseYixue Zhao, Justin Chen, Adriana Sejfia, Marcelo Schmitt Laser 等FSE 2020 · 被引用 33 次
相关 Paper
- Learning-based Widget Matching for Migrating GUI Test CasesYakun Zhang, Wenjie Zhang, Dezhi Ran, Qihao Zhu 等ICSE 2024 · 被引用 20 次
- GUIDER: GUI structure and vision co-guided test script repair for Android appsTongtong Xu, Minxue Pan, Yu Pei, Guiyin Li 等ISSTA 2021 · 被引用 30 次
- Comprehensive Semantic Repair of Obsolete GUI Test Scripts for Mobile ApplicationsShaoheng Cao, Minxue Pan, Yu Pei, Wenhua Yang 等ICSE 2024 · 被引用 7 次
- MUT: Human-in-the-Loop Unit Test MigrationYi Gao, Xing Hu, Tongtong Xu, Xin Xia 等ICSE 2024 · 被引用 3 次
- Vision-Based Widget Mapping for Test Migration Across Mobile Platforms: Are We There Yet?Ruihua Ji, Tingwei Zhu, Xiaoqing Zhu, Chunyang Chen 等ASE 2023 · 被引用 2 次
