ReSPlay: Improving Cross-Platform Record-and-Replay with GUI Sequence Matching

被引:0
|
作者
Zhang, Shaokun [1 ]
Wu, Linna [2 ,3 ]
Li, Yuanchan [4 ]
Zhang, Ziqi [1 ]
Lei, Hanwen [1 ]
Li, Ding [1 ]
Guo, Yao [1 ]
Chen, Xiangqun [1 ]
机构
[1] Peking Univ, Sch Comp Sci, Key Lab High Confidence Software Tech MOE, Beijing, Peoples R China
[2] Key Lab Mobile Applicat Innovat & Governance Tech, Beijing, Peoples R China
[3] China Acad Informat & Commun Technol, CTTL Terminals Labs, Beijing, Peoples R China
[4] Tsinghua Univ, Inst AI Ind Res, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
D O I
10.1109/ISSRE59848.2023.00056
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Record-and-replay is an important testing technique to ensure the quality of mobile applications (apps in short). State-of-the-art record-and-replay approaches are typically based on widget matching, which has shown limited effectiveness, especially on devices with different platforms and resolutions, due to the difficulty in matching widgets with subtle visual differences. Our key observation is that, even if two widgets look similar, the resulting screenshot sequences can still be very different during execution. Thus, instead of matching GUI widgets directly, we are able to find the correct replay actions by comparing the resulting GUI screenshot sequences, which can be better distinguished across different platforms, thus potentially improving the record-and-replay efficiency through GUI exploration and comparison. This paper proposes a general record-and-replay framework called ReSPlay, which leverages a more robust visual feature, GUI sequences, to guide replaying more accurately. ReSPlay pre-trains a deep reinforcement learning model, SDP-Net, offline from random app traces. Specifically, SDP-Net is trained to search a particular path from GUI transition graphs to learn an optimal policy to locate the target operation positions by maximizing the possibilities to reach the target GUI sequence. Finally, the trained SDP-Net is used to search for potential event traces with high rewards and replicate them on the target device for replay. We evaluate our proposed framework on multiple real devices. Experimental results show that the overall average replay accuracy of ReSPlay on devices across different OSes, GUI styles, and resolutions is 28.12% higher than the state-of-the-art baselines.
引用
收藏
页码:439 / 450
页数:12
相关论文
共 41 条
  • [31] AnyExpress: Integrated toolkit for analysis of cross-platform gene expression data using a fast interval matching algorithm
    Kim, Jihoon
    Patel, Kiltesh
    Jung, Hyunchul
    Kuo, Winston P.
    Ohno-Machado, Lucila
    BMC BIOINFORMATICS, 2011, 12
  • [32] Cross-platform (NXE-NXT) machine-to-machine overlay matching supporting next node chip manufacturing
    Thijssen, Theo
    Beckers, Marcel
    Mollema, Albert
    Levasier, Leon
    Padi, Alexander
    Hung, Chia-Wei
    Chen, Hsiao-Lan
    van Bokhoven, Laurens
    Lammers, Niels
    van Damme, Jean Philippe
    Teeuwisse, Floris
    Tijssen, Robin
    Tzeng, Wilson
    Wang, Cathy
    Mastenbroek, Marcel
    Vos, Harald
    Yueh, Ting-Ju
    Chen, Miao-Chi
    Wu, Hsueh-Hung
    Peng, Shin-Rung
    Chen, Chun-Kuang
    Chen, L. J.
    Cheng, Kevin
    Lin, John
    OPTICAL MICROLITHOGRAPHY XXXI, 2018, 10587
  • [33] ANALYSIS OF THE IMPACT OF PERFORMANCE APPRAISAL ON CROSS-PLATFORM SERVICE PREFERENCES FROM THE PERSPECTIVE OF IMPROVING EMPLOYEE PSYCHOLOGICAL QUALITY
    Shang, Wei
    Luo, Feng
    Wang, Zhe
    MEDICINE, 2023, 102 (30) : 47 - 48
  • [34] A Cross-Platform Python']Python-Based Application for Automated Collection of Pathology Data from An Electronic Health Record System
    Zhang, Zhenwei
    Lewandrowski, Nicole
    Melnikov, Pavel
    Vanguri, Vijay
    LABORATORY INVESTIGATION, 2024, 104 (03) : S1632 - S1634
  • [35] SOAPTyping: an open-source and cross-platform tool for sequence-based typing for HLA class I and II alleles
    Yong Zhang
    Yongsheng Chen
    Huixin Xu
    Junbin Fang
    Zijian Zhao
    Weipeng Hu
    Xiaoqin Yang
    Jia Ye
    Yun Cheng
    Jiayin Wang
    Weiqiang Sun
    Jian Wang
    Huanming Yang
    Jing Yan
    Lin Fang
    BMC Bioinformatics, 21
  • [36] SOAPTyping: an open-source and cross-platform tool for sequence-based typing for HLA class I and II alleles
    Zhang, Yong
    Chen, Yongsheng
    Xu, Huixin
    Fang, Junbin
    Zhao, Zijian
    Hu, Weipeng
    Yang, Xiaoqin
    Ye, Jia
    Cheng, Yun
    Wang, Jiayin
    Sun, Weiqiang
    Wang, Jian
    Yang, Huanming
    Yan, Jing
    Fang, Lin
    BMC BIOINFORMATICS, 2020, 21 (01)
  • [37] The Saccharomyces cerevisiae W303-K6001 cross-platform genome sequence: insights into ancestry and physiology of a laboratory mutt
    Ralser, Markus
    Kuhl, Heiner
    Ralser, Meryem
    Werber, Martin
    Lehrach, Hans
    Breitenbach, Michael
    Timmermann, Bernd
    OPEN BIOLOGY, 2012, 2
  • [38] Cross-platform architecture of a sequence boundary in mixed siliciclastic-carbonate lithofacies, middle Cambrian, southern Great Basin, USA
    Osleger, DA
    Montanez, IP
    SEDIMENTOLOGY, 1996, 43 (02) : 197 - 217
  • [39] Sequence-matched probes produce increased cross-platform consistency and more reproducible biological results in microarray-based gene expression measurements
    Mecham, BH
    Klus, GT
    Strovel, J
    Augustus, M
    Byrne, D
    Bozso, P
    Wetmore, DZ
    Mariani, TJ
    Kohane, IS
    Szallasi, Z
    NUCLEIC ACIDS RESEARCH, 2004, 32 (09) : e74
  • [40] Redefinition of Affymetrix probe sets by sequence overlap with cDNA microarray probes reduces cross-platform inconsistencies in cancer-associated gene expression measurements
    Scott L Carter
    Aron C Eklund
    Brigham H Mecham
    Isaac S Kohane
    Zoltan Szallasi
    BMC Bioinformatics, 6