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 条
  • [21] SCI-VCF: a cross-platform GUI solution to summarize, compare, inspect and visualize the variant call format
    Kamaraj, Venkatesh
    Sinha, Himanshu
    NAR GENOMICS AND BIOINFORMATICS, 2024, 6 (03)
  • [22] Cross-platform analysis of public responses to the 2019 Ridgecrest earthquake sequence on Twitter and Reddit
    Ruan, Tao
    Kong, Qingkai
    McBride, Sara K.
    Sethjiwala, Amatullah
    Lv, Qin
    SCIENTIFIC REPORTS, 2022, 12 (01)
  • [23] Improving Cross-Platform Binary Analysis using Representation Learning via Graph Alignment
    Kim, Geunwoo
    Hong, Sanghyun
    Franz, Michael
    Song, Dokyung
    PROCEEDINGS OF THE 31ST ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2022, 2022, : 151 - 163
  • [24] Cross-platform analysis of public responses to the 2019 Ridgecrest earthquake sequence on Twitter and Reddit
    Tao Ruan
    Qingkai Kong
    Sara K. McBride
    Amatullah Sethjiwala
    Qin Lv
    Scientific Reports, 12
  • [25] Improving news media oversight: Why Australia needs a cross-platform standards scheme
    Wilding, Derek
    Molitorisz, Sacha
    AUSTRALIAN JOURNALISM REVIEW, 2022, 44 (01) : 19 - 38
  • [26] A Cross-Platform HD Dataset and a Two-Step Framework for Robust Aerial Image Matching
    Shahid, Md
    Abhishek, B.
    Channappayya, Sumohana S.
    IEEE ACCESS, 2022, 10 : 66153 - 66174
  • [27] Creating nonideality: Enabling cross-platform process matching solutions with MPC (and a lot of hard work)
    Whiting, Charles
    Bork, Ingo
    Buck, Peter
    Chia, Robin
    Durvasula, Bharadwaj
    Hill, Daniel M.
    Huda, Gazi
    Jantzen, Ken
    Leuthold, Matthew
    Li, Jianliang
    Mellmann, Joerg
    Mishra, Kushlendra
    Rankin, Jed
    Rao, Nageswara
    Sharma, Malavika
    Sharma, Rachit
    Smith, Adam
    Wentz, Michaela
    PHOTOMASK TECHNOLOGY 2019, 2019, 11148
  • [28] Comparing Apples to Androids: Discovery, Retrieval, and Matching of iOS and Android Apps for Cross-Platform Analyses
    Steinboeck, Magdalena
    Bleier, Jakob
    Rainer, Mikka
    Urban, Tobias
    Utz, Christine
    Lindorfer, Martina
    2024 IEEE/ACM 21ST INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2024, : 348 - 360
  • [29] Cross-Platform Based Scalable 3D Media Sequence Playback Framework Architecture
    Shin, Kwangmu
    Kim, Sunghoon
    ELECTRONICS LETTERS, 2025, 61 (01)
  • [30] AnyExpress: Integrated toolkit for analysis of cross-platform gene expression data using a fast interval matching algorithm
    Jihoon Kim
    Kiltesh Patel
    Hyunchul Jung
    Winston P Kuo
    Lucila Ohno-Machado
    BMC Bioinformatics, 12