{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,6]],"date-time":"2026-05-06T18:40:37Z","timestamp":1778092837620,"version":"3.51.4"},"reference-count":86,"publisher":"Association for Computing Machinery (ACM)","issue":"2","funder":[{"name":"National Key Research and Development Program of China","award":["2023YFB4503803"],"award-info":[{"award-number":["2023YFB4503803"]}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["62372005"],"award-info":[{"award-number":["62372005"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Young Elite Scientists Sponsorship Program by CAST (Doctoral Student Special Plan), and the Ministry of Education, Singapore under its Academic Research Fund Tier 2","award":["Proposal ID: T2EP20223-0043; Project ID: MOE-000613-00"],"award-info":[{"award-number":["Proposal ID: T2EP20223-0043; Project ID: MOE-000613-00"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2026,2,28]]},"abstract":"<jats:p>GUI test migration aims to produce test cases with events and assertions to test specific functionalities of a target app. Existing migration approaches typically focus on the widget-mapping paradigm that maps widgets from source apps to target apps. However, since different apps may implement the same functionality in different ways, direct mapping may result in incomplete or buggy test cases, thus significantly impacting the effectiveness of testing the target functionality and the practical applicability of migration approaches.<\/jats:p>\n                  <jats:p>\n                    In this article, we propose a new migration paradigm (i.e., the abstraction-concretization paradigm) that first abstracts the test logic for the target functionality and then utilizes this logic to generate the concrete GUI test case. Furthermore, we introduce\n                    <jats:italic toggle=\"yes\">MACdroid<\/jats:italic>\n                    , the first approach that migrates GUI test cases based on this paradigm. Specifically, we propose an\n                    <jats:italic toggle=\"yes\">abstraction technique<\/jats:italic>\n                    that utilizes source test cases from source apps targeting the same functionality to extract a general test logic for that functionality. Then, we propose a\n                    <jats:italic toggle=\"yes\">concretization technique<\/jats:italic>\n                    that utilizes the general test logic to guide an LLM in generating the corresponding GUI test case (including events and assertions) for the target app. We evaluate MACdroid on two widely used datasets (including 31 apps, 34 functionalities, and 123 test cases). On the FrUITeR dataset, the test cases generated by MACdroid successfully test 64% of the target functionalities, improving the baselines by 191%. On the Lin dataset, MACdroid successfully tests 75% of the target functionalities, outperforming the baselines by 42%. These results underscore the effectiveness of MACdroid in GUI test migration.\n                  <\/jats:p>","DOI":"10.1145\/3726525","type":"journal-article","created":{"date-parts":[[2025,4,16]],"date-time":"2025-04-16T12:39:56Z","timestamp":1744807196000},"page":"1-29","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":3,"title":["GUI Test Migration via Abstraction and Concretization"],"prefix":"10.1145","volume":"35","author":[{"ORCID":"https:\/\/orcid.org\/0009-0009-2377-3114","authenticated-orcid":false,"given":"Yakun","family":"Zhang","sequence":"first","affiliation":[{"name":"Key Lab of HCST (PKU), MOE, SCS, Peking University, Beijing, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0009-0008-7832-0895","authenticated-orcid":false,"given":"Chen","family":"Liu","sequence":"additional","affiliation":[{"name":"Key Lab of HCST (PKU), MOE, SCS, Peking University, Beijing, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1288-6502","authenticated-orcid":false,"given":"Xiaofei","family":"Xie","sequence":"additional","affiliation":[{"name":"Singapore Management University, Singapore, Singapore"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8255-0118","authenticated-orcid":false,"given":"Yun","family":"Lin","sequence":"additional","affiliation":[{"name":"Shanghai Jiao Tong University, Shanghai, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6512-8326","authenticated-orcid":false,"given":"Jin Song","family":"Dong","sequence":"additional","affiliation":[{"name":"National University of Singapore, Singapore, Singapore"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8295-303X","authenticated-orcid":false,"given":"Dan","family":"Hao","sequence":"additional","affiliation":[{"name":"Key Lab of HCST (PKU), MOE, SCS, Peking University, Beijing, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-8304-7055","authenticated-orcid":false,"given":"Lu","family":"Zhang","sequence":"additional","affiliation":[{"name":"Key Lab of HCST (PKU), MOE, SCS, Peking University, Beijing, China"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2026,1,21]]},"reference":[{"key":"e_1_3_3_2_2","unstructured":"2024. ABC News\u2014Breaking News Latest News and Videos. Retrieved from https:\/\/abcnews.go.com\/"},{"key":"e_1_3_3_3_2","unstructured":"2024. Android | Do More With Google on Android Phones and Devices. Retrieved from https:\/\/www.android.com\/"},{"key":"e_1_3_3_4_2","unstructured":"2024. Appium: Automtate test for apps. Retrieved from https:\/\/appium.io\/"},{"key":"e_1_3_3_5_2","unstructured":"2024. BBC News apk. Retrieved from https:\/\/play.google.com\/store\/apps\/details?id=bbc.mobile.news.ww&hl=zh&gl=US"},{"key":"e_1_3_3_6_2","unstructured":"2024. BERT Base Uncased. Retrieved from https:\/\/huggingface.co\/bert-base-uncased"},{"key":"e_1_3_3_7_2","unstructured":"2024. ChatGPT. Retrieved from https:\/\/chat.openai.com\/"},{"key":"e_1_3_3_8_2","unstructured":"2024. Claude AI. Retrieved from https:\/\/claude.ai\/login?returnTo=%2F%3F"},{"key":"e_1_3_3_9_2","unstructured":"2024. F-Droid: Free and Open Source Android App Repository. Retrieved from https:\/\/f-droid.org\/"},{"key":"e_1_3_3_10_2","unstructured":"2024. Firefox Browser: Fast Private and Secure Web Browser. Retrieved from https:\/\/play.google.com\/store\/apps\/details?id=org.mozilla.firefox"},{"key":"e_1_3_3_11_2","unstructured":"2024. FrUITeR Dataset. Retrieved from https:\/\/felicitia.github.io\/FrUITeR"},{"key":"e_1_3_3_12_2","unstructured":"2024. GitHub: Let\u2019s Build from Here. Retrieved from https:\/\/github.com\/"},{"key":"e_1_3_3_13_2","unstructured":"2024. Google Play Store. Retrieved from https:\/\/play.google.com\/store\/games"},{"key":"e_1_3_3_14_2","unstructured":"2024. GPT-4 a Large Multimodal Model. Retrieved from https:\/\/openai.com\/research\/gpt-4"},{"key":"e_1_3_3_15_2","unstructured":"2024. Lin Dataset. Retrieved from https:\/\/github.com\/seal-hub\/CraftDroid"},{"key":"e_1_3_3_16_2","unstructured":"2024. The MACdroid Project. Retrieved from https:\/\/sites.google.com\/view\/macdroid-test?usp=sharing"},{"key":"e_1_3_3_17_2","unstructured":"2024. Selenium Automates Browsers. Retrieved from https:\/\/www.selenium.dev\/"},{"key":"e_1_3_3_18_2","unstructured":"2024. TEMdroid Dataset: Popular Apps in Google Play Store. Retrieved from https:\/\/github.com\/YakZhang\/TEMdroid\/tree\/main\/Dataset\/Usefulness_study"},{"key":"e_1_3_3_19_2","unstructured":"2024. UI\/Application Exerciser Monkey. Retrieved from https:\/\/developer.Android.com\/studio\/test\/monkey"},{"key":"e_1_3_3_20_2","doi-asserted-by":"crossref","unstructured":"Kabir Ahuja Rishav Hada Millicent Ochieng Prachi Jain Harshita Diddee Samuel Maina Tanuja Ganu Sameer Segal Maxamed Axmed Kalika Bali et al. 2023. Mega: Multilingual evaluation of generative ai. arXiv:2303.12528. Retrieved from https:\/\/arxiv.org\/abs\/2303.12528","DOI":"10.18653\/v1\/2023.emnlp-main.258"},{"key":"e_1_3_3_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/2393596.2393666"},{"key":"e_1_3_3_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/3644032.3644462"},{"key":"e_1_3_3_23_2","doi-asserted-by":"publisher","DOI":"10.1145\/2970276.2970313"},{"key":"e_1_3_3_24_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11432-021-3414-7"},{"key":"e_1_3_3_25_2","unstructured":"Lee A. Becker. 2000. Effect size (ES). Retrieved from https:\/\/www.uv.es\/friasnav\/EffectSizeBecker.pdf"},{"key":"e_1_3_3_26_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2019.00016"},{"key":"e_1_3_3_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380328"},{"key":"e_1_3_3_28_2","doi-asserted-by":"publisher","DOI":"10.1145\/3197231.3197243"},{"key":"e_1_3_3_29_2","first-page":"1877","article-title":"Language models are few-shot learners","volume":"33","author":"Brown Tom","year":"2020","unstructured":"Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D. Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, et al. 2020. Language models are few-shot learners. Advances in Neural Information Processing Systems 33 (2020), 1877\u20131901.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_3_3_30_2","unstructured":"Guiming Hardy Chen Shunian Chen Ziche Liu Feng Jiang and Benyou Wang. 2024. Humans or LLMs as the judge? A study on judgement biases. arXiv:2402.10669. Retrieved from https:\/\/arxiv.org\/abs\/2402.10669"},{"key":"e_1_3_3_31_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11432-023-4127-5"},{"key":"e_1_3_3_32_2","doi-asserted-by":"publisher","DOI":"10.1109\/ISSRE.2019.00035"},{"key":"e_1_3_3_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3608137"},{"key":"e_1_3_3_34_2","volume-title":"Assertion-Based Design","author":"Foster Harry D.","year":"2004","unstructured":"Harry D. Foster, Adam C. Krolnik, and David J. Lacey. 2004. Assertion-Based Design. Springer Science & Business Media."},{"key":"e_1_3_3_35_2","unstructured":"Difei Gao Lei Ji Zechen Bai Mingyu Ouyang Peiran Li Dongxing Mao Qinchen Wu Weichen Zhang Peiyi Wang Xiangwu Guo et al. 2023. ASSISTGUI: Task-oriented desktop graphical user interface automation. arXiv:2312.13108. Retrieved from https:\/\/arxiv.org\/abs\/2312.13108"},{"key":"e_1_3_3_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/3238147.3238225"},{"key":"e_1_3_3_37_2","doi-asserted-by":"publisher","DOI":"10.1002\/smr.2158"},{"key":"e_1_3_3_38_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME.2017.72"},{"key":"e_1_3_3_39_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2000.873666"},{"key":"e_1_3_3_40_2","unstructured":"Tianyang Han Qing Lian Rui Pan Renjie Pi Jipeng Zhang Shizhe Diao Yong Lin and Tong Zhang. 2024. The instinctive bias: Spurious images lead to hallucination in MLLMs. arXiv:2402.03757. Retrieved from https:\/\/arxiv.org\/abs\/2402.03757"},{"key":"e_1_3_3_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/3236024.3236055"},{"key":"e_1_3_3_42_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.patcog.2024.110399"},{"key":"e_1_3_3_43_2","unstructured":"Yue Jiang Eldon Schoop Amanda Swearngin and Jeffrey Nichols. 2023. ILuvUI: Instruction-tuned LangUage-Vision modeling of UIs from machine conversations. arXiv:2310.04869. Retrieved from https:\/\/arxiv.org\/abs\/2310.04869"},{"key":"e_1_3_3_44_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.1996.493403"},{"key":"e_1_3_3_45_2","doi-asserted-by":"publisher","DOI":"10.1002\/stvr.1752"},{"key":"e_1_3_3_46_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICST.2018.00020"},{"key":"e_1_3_3_47_2","doi-asserted-by":"publisher","DOI":"10.1109\/3477.764879"},{"key":"e_1_3_3_48_2","first-page":"957","volume-title":"ICML","author":"Kusner Matt","year":"2015","unstructured":"Matt Kusner, Yu Sun, Nicholas Kolkin, and Kilian Weinberger. 2015. From word embeddings to document distances. In ICML, 957\u2013966."},{"key":"e_1_3_3_49_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2019.00021"},{"key":"e_1_3_3_50_2","unstructured":"Yang Li Jiacong He Xin Zhou Yuan Zhang and Jason Baldridge. 2020. Mapping natural language instructions to mobile UI action sequences. arXiv:2005.03776. Retrieved from https:\/\/arxiv.org\/abs\/2005.03776"},{"key":"e_1_3_3_51_2","first-page":"23","volume-title":"ICSE-C","author":"Li Yuanchun","year":"2017","unstructured":"Yuanchun Li, Ziyue Yang, Yao Guo, and Xiangqun Chen. 2017. Droidbot: A lightweight UI-guided test input generator for Android. In ICSE-C, 23\u201326."},{"key":"e_1_3_3_52_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2019.00104"},{"key":"e_1_3_3_53_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE.2019.00015"},{"key":"e_1_3_3_54_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICST53961.2022.00011"},{"key":"e_1_3_3_55_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSME.2017.47"},{"key":"e_1_3_3_56_2","unstructured":"Shuqi Liu Yu Zhou Tingting Han and Taolue Chen. 2023. Test reuse based on adaptive semantic matching across Android mobile applications. arXiv:2301.00530. Retrieved from https:\/\/arxiv.org\/abs\/2301.00530"},{"key":"e_1_3_3_57_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11432-021-3528-7"},{"key":"e_1_3_3_58_2","doi-asserted-by":"publisher","DOI":"10.1145\/3491102.3501903"},{"key":"e_1_3_3_59_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2022.3150876"},{"key":"e_1_3_3_60_2","doi-asserted-by":"publisher","DOI":"10.1145\/2491411.2491450"},{"key":"e_1_3_3_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/2931037.2931054"},{"key":"e_1_3_3_62_2","doi-asserted-by":"publisher","DOI":"10.1145\/3460319.3464827"},{"key":"e_1_3_3_63_2","first-page":"70","volume-title":"AST","author":"Mariani Leonardo","year":"2023","unstructured":"Leonardo Mariani, Mauro Pezz\u00e8, Valerio Terragni, and Daniele Zuddas. 2023. An evolutionary approach to adapt tests across mobile apps. In AST, 70\u201379."},{"key":"e_1_3_3_64_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-43458-7_34"},{"key":"e_1_3_3_65_2","first-page":"1","article-title":"Mann-Whitney U test","author":"McKnight Patrick E.","year":"2010","unstructured":"Patrick E. McKnight and Julius Najab. 2010. Mann-Whitney U test. The Corsini Encyclopedia of Psychology (2010), 1\u20131.","journal-title":"The Corsini Encyclopedia of Psychology"},{"key":"e_1_3_3_66_2","first-page":"3111","volume-title":"NIPS","author":"Mikolov Tomas","year":"2013","unstructured":"Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S. Corrado, and Jeff Dean. 2013. Distributed representations of words and phrases and their compositionality. In NIPS, 3111\u20133119."},{"key":"e_1_3_3_67_2","doi-asserted-by":"publisher","DOI":"10.1145\/3395363.3397354"},{"key":"e_1_3_3_68_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICST.2015.7102604"},{"key":"e_1_3_3_69_2","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380431"},{"key":"e_1_3_3_70_2","doi-asserted-by":"publisher","DOI":"10.1145\/3092703.3092709"},{"key":"e_1_3_3_71_2","doi-asserted-by":"publisher","DOI":"10.1145\/3106237.3106298"},{"key":"e_1_3_3_72_2","first-page":"1","article-title":"Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs","author":"Su Ting","year":"2021","unstructured":"Ting Su, Yichen Yan, Jue Wang, Jingling Sun, Yiheng Xiong, Geguang Pu, Ke Wang, and Zhendong Su. 2021. Fully automated functional fuzzing of Android apps for detecting non-crashing logic bugs. PACMPL, 1\u201331.","journal-title":"PACMPL"},{"key":"e_1_3_3_73_2","doi-asserted-by":"publisher","DOI":"10.1145\/3611643.3616286"},{"key":"e_1_3_3_74_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2023.3236449"},{"key":"e_1_3_3_75_2","doi-asserted-by":"crossref","unstructured":"Maryam Taeb Amanda Swearngin Eldon School Ruijia Cheng Yue Jiang and Jeffrey Nichols. 2023. Axnav: Replaying accessibility tests from natural language. arXiv:2310.02424. Retrieved from https:\/\/arxiv.org\/abs\/2310.02424","DOI":"10.1145\/3613904.3642777"},{"key":"e_1_3_3_76_2","first-page":"170","volume-title":"FIT","author":"Saqib Najam Us","year":"2018","unstructured":"Najam Us Saqib and Sara Shahzad. 2018. Functionality, performance, and compatibility testing: A model based approach. In FIT, 170\u2013175."},{"key":"e_1_3_3_77_2","doi-asserted-by":"publisher","DOI":"10.1145\/3540250.3549170"},{"key":"e_1_3_3_78_2","first-page":"24824","article-title":"Chain-of-thought prompting elicits reasoning in large language models","volume":"35","author":"Wei Jason","year":"2022","unstructured":"Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc V. Le, Denny Zhou. 2022. Chain-of-thought prompting elicits reasoning in large language models. Advances in Neural Information Processing Systems 35 (2022), 24824\u201324837.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_3_3_79_2","doi-asserted-by":"publisher","DOI":"10.1145\/3636534.3649379"},{"key":"e_1_3_3_80_2","unstructured":"Hao Wen Hongming Wang Jiaxuan Liu and Yuanchun Li. 2023. DroidBot-GPT: GPT-powered UI automation for Android. arXiv:2304.07061. Retrieved from https:\/\/arxiv.org\/abs\/2304.07061"},{"key":"e_1_3_3_81_2","unstructured":"Jia-Yu Yao Kun-Peng Ning Zhen-Hui Liu Mu-Nan Ning and Li Yuan. 2023. Llm Lies: Hallucinations are not bugs but features as adversarial examples. arXiv:2310.01469. Retrieved from https:\/\/arxiv.org\/abs\/2310.01469"},{"key":"e_1_3_3_82_2","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2024.3414672"},{"key":"e_1_3_3_83_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639161"},{"key":"e_1_3_3_84_2","first-page":"54769","article-title":"Algo: Synthesizing algorithmic programs with generated oracle verifiers","volume":"36","author":"Zhang Kexun","year":"2023","unstructured":"Kexun Zhang, Danqing Wang, Jingtao Xia, William Yang Wang, and Lei Li. 2023. Algo: Synthesizing algorithmic programs with generated oracle verifiers. Advances in Neural Information Processing Systems 36 (2023), 54769\u201354784.","journal-title":"Advances in Neural Information Processing Systems"},{"key":"e_1_3_3_85_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3623322"},{"key":"e_1_3_3_86_2","doi-asserted-by":"publisher","DOI":"10.1145\/3650212.3680327"},{"key":"e_1_3_3_87_2","doi-asserted-by":"publisher","DOI":"10.1145\/3368089.3409708"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3726525","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,1,21]],"date-time":"2026-01-21T16:33:41Z","timestamp":1769013221000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3726525"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,1,21]]},"references-count":86,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2026,2,28]]}},"alternative-id":["10.1145\/3726525"],"URL":"https:\/\/doi.org\/10.1145\/3726525","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,1,21]]},"assertion":[{"value":"2024-09-02","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-02-13","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-01-21","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}