Lune

ASE2021Top-tier venue

UI Test Migration Across Mobile Platforms

Saghar Talebipour, Yixue Zhao, Luka Dojcilovic, Chenggang Li, Nenad Medvidovic

Abstract

Writing UI tests manually requires significant effort. Several approaches have tried to address this problem in mobile apps: by exploiting the similarities of different apps within the same domain on a single platform, they have shown that it is possible to transfer tests that exercise similar functionality between the apps. A related recent technique enables transfer of UI tests uni-directionally, from an open-source iOS app to the same app implemented for Android. This paper presents MAPIT, a technique that expands existing work in three important ways: (1) it enables bi-directional UI test transfer between pairs of "sibling" Android and iOS apps; (2) it does not assume that the apps’ source code is available; (3) it is capable of transferring tests containing oracles in addition to UI events. MAPIT runs existing tests on a "source" app and builds a partial model of the app corresponding to each test. The model comprises the app’s screenshots, obtainable properties of each screenshot’s constituent elements, and labeled transitions between the screenshots. MAPIT uses this model to determine the corresponding information on the "target" app and generates an equivalent test, via a novel approach that leverages computer vision and NLP. Our evaluation on a diverse set of widely used, closed-source sibling Android and iOS apps shows that MAPIT is feasible, accurate, and useful in transferring UI tests across platforms.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Read It, Don't Watch It: Captioning Bug Recordings Automatically cites Efficiency Matters: Speeding Up Automated Testing with GUI Rendering Inference
  • Read It, Don't Watch It: Captioning Bug Recordings Automatically cites FrUITeR: a framework for evaluating UI test reuse
  • GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs cites Efficiency Matters: Speeding Up Automated Testing with GUI Rendering Inference
  • GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs cites Read It, Don't Watch It: Captioning Bug Recordings Automatically
  • GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs cites Semantic matching of GUI events for test reuse: are we there yet?
  • GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific Bugs cites Context-aware Bug Reproduction for Mobile Apps
  • Semantic matching of GUI events for test reuse: are we there yet? cites FrUITeR: a framework for evaluating UI test reuse
  • Context-aware Bug Reproduction for Mobile Apps cites Semantic matching of GUI events for test reuse: are we there yet?
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Efficiency Matters: Speeding Up Automated Testing with GUI Rendering InferenceSidong Feng, Mulong Xie, Chunyang ChenICSE 2023 · 23 citations
  2. Read It, Don't Watch It: Captioning Bug Recordings AutomaticallySidong Feng, Mulong Xie, Yinxing Xue, Chunyang ChenICSE 2023 · 12 citations
  3. Context-aware Bug Reproduction for Mobile AppsYuchao Huang, Junjie Wang, Zhe Liu, Song Wang et al.ICSE 2023 · 7 citations
  4. GUIPilot: A Consistency-Based Mobile GUI Testing Approach for Detecting Application-Specific BugsRuofan Liu, Xiwen Teoh, Yun Lin, Guanjie Chen et al.ISSTA 2025 · 5 citations
  5. CydiOS: A Model-Based Testing Framework for iOS AppsShuohan Wu, Jianfeng Li, Hao Zhou, Yongsheng Fang et al.ISSTA 2023 · 4 citations

Builds on3

  1. Layout and Image Recognition Driving Cross-Platform Automated Mobile TestingShengcheng Yu, Chunrong Fang, Yexiao Yun, Yang FengICSE 2021 · 40 citations
  2. Semantic matching of GUI events for test reuse: are we there yet?Leonardo Mariani, Ali Mohebbi, Mauro Pezzè, Valerio TerragniISSTA 2021 · 34 citations
  3. FrUITeR: a framework for evaluating UI test reuseYixue Zhao, Justin Chen, Adriana Sejfia, Marcelo Schmitt Laser et al.FSE 2020 · 33 citations

Related papers

  1. Vision-Based Widget Mapping for Test Migration Across Mobile Platforms: Are We There Yet?Ruihua Ji, Tingwei Zhu, Xiaoqing Zhu, Chunyang Chen et al.ASE 2023 · 2 citations
  2. Automated Test Transfer across Android Apps using Large Language ModelsBenyamin Beyzaei, Saghar Talebipour, Ghazal Rafiei, Nenad Medvidovic et al.ISSTA 2025 · 2 citations
  3. Intention-Based GUI Test Migration for Mobile Apps using Large Language ModelsShaoheng Cao, Minxue Pan, Yuanhong Lan, Xuandong LiISSTA 2025
  4. GUIDER: GUI structure and vision co-guided test script repair for Android appsTongtong Xu, Minxue Pan, Yu Pei, Guiyin Li et al.ISSTA 2021 · 30 citations
  5. Comprehensive Semantic Repair of Obsolete GUI Test Scripts for Mobile ApplicationsShaoheng Cao, Minxue Pan, Yu Pei, Wenhua Yang et al.ICSE 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines