English

SeeAction: Towards Reverse Engineering How-What-Where of HCI Actions from Screencasts for UI Automation

Software Engineering 2025-03-18 v1

Abstract

UI automation is a useful technique for UI testing, bug reproduction, and robotic process automation. Recording user actions with an application assists rapid development of UI automation scripts, but existing recording techniques are intrusive, rely on OS or GUI framework accessibility support, or assume specific app implementations. Reverse engineering user actions from screencasts is non-intrusive, but a key reverse-engineering step is currently missing - recognizing human-understandable structured user actions ([command] [widget] [location]) from action screencasts. To fill the gap, we propose a deep learning-based computer vision model that can recognize 11 commands and 11 widgets, and generate location phrases from action screencasts, through joint learning and multi-task learning. We label a large dataset with 7260 video-action pairs, which record user interactions with Word, Zoom, Firefox, Photoshop, and Windows 10 Settings. Through extensive experiments, we confirm the effectiveness and generality of our model, and demonstrate the usefulness of a screencast-to-action-script tool built upon our model for bug reproduction.

Keywords

Cite

@article{arxiv.2503.12873,
  title  = {SeeAction: Towards Reverse Engineering How-What-Where of HCI Actions from Screencasts for UI Automation},
  author = {Dehai Zhao and Zhenchang Xing and Qinghua Lu and Xiwei Xu and Liming Zhu},
  journal= {arXiv preprint arXiv:2503.12873},
  year   = {2025}
}

Comments

Accepted by IEEE/ACM International Conference on Software Engineering 2025 (ICSE 2025, Distinguished paper award)