一句话:首个关于 GUI 事件语义匹配的实证研究,并提出优于现有方案的 SemFinder 算法。
GUI 测试重要但代价高昂。近期 Android 测试复用方法可将人工设计的 GUI 测试从源应用迁移到功能相似的目标应用,其核心是依据 GUI 控件文本信息进行语义相似度匹配。然而,GUI 事件的语义匹配是否可靠仍缺乏系统认识。本文开展首个针对 GUI 事件语义匹配的实证研究,覆盖 253 种语义匹配配置、337 个唯一查询和 8099 个不同 GUI 事件。研究得出若干关键发现,指出如何改进测试复用中的语义匹配,提出新算法 SemFinder,并证明其优于现有方案,同时指出若干未来研究方向。
GUI testing is an important but expensive activity. Recently, research on test reuse approaches for Android applications produced interesting results. Test reuse approaches automatically migrate human-designed GUI tests from a source app to a target app that shares similar functionalities. They achieve this by exploiting semantic similarity among textual information of GUI widgets. Semantic matching of GUI events plays a crucial role in these approaches. In this paper, we present the first empirical study on semantic matching of GUI events. Our study involves 253 configurations of the semantic matching, 337 unique queries, and 8,099 distinct GUI events. We report several key findings that indicate how to improve semantic matching of test reuse approaches, propose SemFinder a novel semantic matching algorithm that outperforms existing solutions, and identify several interesting research directions.
DOI 原文 ·
@inproceedings{paperbot6672,
title = {Semantic matching of GUI events for test reuse: are we there yet?},
author = {Leonardo Mariani and Ali Mohebbi and Mauro Pezzè and Valerio Terragni},
booktitle = {ISSTA},
year = {2021},
doi = {10.1145/3460319.3464827}
}