ICSE 2024
Fri 12 - Sun 21 April 2024 Lisbon, Portugal
Fri 19 Apr 2024 11:30 - 11:45 at Sophia de Mello Breyner Andresen - Testing with and for AI 1 Chair(s): Peter Rigby

GUI test case migration is to migrate GUI test cases from a source app to a target app. The key of test case migration is widget matching. Recently, researchers formulate widget matching as a matching task. However, since these matching approaches depend on static word embeddings without utilizing contextual information to represent widgets and manually formulate matching functions, the approaches may encounter difficulties when handling complex matching relations in real-world apps.

In this paper, we propose the first learning-based widget matching approach named \emph{TEMdroid} (\underline{\emph{TE}}st \underline{\emph{M}}igration) for test case migration. Unlike existing approaches, TEMdroid uses BERT to capture contextual information and learns a matching model to match widgets. Additionally, to balance the significant imbalance between positive and negative samples in real-world apps, we design a two-stage training strategy where we first train a hard-negative sample miner to mine hard-negative samples, and further train a matching model using positive samples and mined hard-negative samples. Our evaluation on 34 apps shows that TEMdroid is effective in event matching and test case migration. For event matching, TEMdroid’s Top1 accuracy is 76%, improving over 17% compared to baselines. For test case migration, TEMdroid’s F1 score is 89%, also a 7% improvement compared to the baseline approach.

Fri 19 Apr

Displayed time zone: Lisbon change

11:00 - 12:30
Testing with and for AI 1Research Track / Journal-first Papers / Demonstrations at Sophia de Mello Breyner Andresen
Chair(s): Peter Rigby Concordia University; Meta
11:00
15m
Talk
Prompting Is All Your Need: Automated Android Bug Replay with Large Language Models
Research Track
Sidong Feng Monash University, Chunyang Chen Technical University of Munich (TUM)
11:15
15m
Talk
Towards Reliable AI: Adequacy Metrics for Ensuring the Quality of System-level Testing of Autonomous Vehicles
Research Track
Neelofar Neelofar Monash University, Aldeida Aleti Monash University
11:30
15m
Talk
Learning-based Widget Matching for Migrating GUI Test Cases
Research Track
Yakun Zhang Peking University, Wenjie Zhang Peking University, Dezhi Ran Peking University, Qihao Zhu Peking University, Chengfeng Dou Peking University, Dan Hao Peking University, Tao Xie Peking University, Lu Zhang Peking University
11:45
7m
Talk
A Search-Based Testing Approach for Deep Reinforcement Learning Agents
Journal-first Papers
Amirhossein Zolfagharian University of Ottawa - School of Electrical Engineering & Computer Science (EECS), Manel Abdellatif Software and Information Technology Engineering Department, École de Technologie Supérieure, Mojtaba Bagherzadeh Cisco, Lionel Briand University of Ottawa, Canada; Lero centre, University of Limerick, Ireland, Ramesh S
11:52
7m
Talk
StubCoder: Automated Generation and Repair of Stub Code for Mock Objects
Journal-first Papers
Hengcheng Zhu The Hong Kong University of Science and Technology, Lili Wei McGill University, Valerio Terragni University of Auckland, Yepang Liu Southern University of Science and Technology, Shing-Chi Cheung Hong Kong University of Science and Technology, Jiarong Wu , Qin Sheng WeBank Co Ltd, Bing Zhang WeBank Co. Ltd., Lihong Song WeBank Co. Ltd.
Link to publication DOI Authorizer link Pre-print
11:59
7m
Talk
Testing of Deep Reinforcement Learning Agents with Surrogate Models
Journal-first Papers
Matteo Biagiola Università della Svizzera italiana, Paolo Tonella USI Lugano
12:06
7m
Talk
Model vs System Level Testing of Autonomous Driving Systems: A Replication and Extension Study
Journal-first Papers
Andrea Stocco Technical University of Munich & fortiss, Brian Pulfer University of Geneva, Paolo Tonella USI Lugano
12:13
7m
Talk
SAFE: Safety Analysis and Retraining of DNNs
Demonstrations
Mohammed Attaoui University of Luxembourg, Fabrizio Pastore University of Luxembourg, Lionel Briand University of Ottawa, Canada; Lero centre, University of Limerick, Ireland
Pre-print
12:20
7m
Talk
MutaBot: A Mutation Testing Approach for Chatbots
Demonstrations
Michael Ferdinando Urrico University of Milano - Bicocca, Diego Clerissi University of Milano-Bicocca, Leonardo Mariani University of Milano-Bicocca
DOI Pre-print Media Attached
Hide past events