Android应用录制与回放工具设计
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金(61502134);杭州市科技计划项目(20170533B04)


Design of Recording and Replay Tools for Android Application
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    智能手机以及平板凭借其便捷的丰富的输入功能越来越受到用户的欢迎,但是它们丰富的输入功能增加了测试的复杂性.现有的基于GUI级别的录制与回放工具满足不了Android应用程序可以从设备上的各种传感器获取输入,识别GUI手势以及一些对时间有精确要求的录制和回放需求.本文设计并且实现了一个工具:RARA.RARA可通过直接捕获手机底层的GUI事件以及传感器事件进行应用的录制,并且以微秒时间精度回放.最后通过实验验证了:(1) RARA录制与回放功能是有效的;(2)回放的时间开销只有1%左右,不会对宿主APP的性能产生影响;(3)通过RARA的录制回放功能,可在多款应用程序的测试中重现应用Bug.

    Abstract:

    Smart phones and tablets are gaining popularity with their rich and powerful input, but their rich input features add to the complexity of the testing. Existing GUI-based recording and playback tools are inadequate for capturing the input of sensor devices, GUI gestures, and have precise timing requirements. This study designs and implements a tool named RARA. RARA can be recorded and replay both GUI events and sensor events, and replaying with microsecond accuracy. Finally, it is verified by experiment:(1) RARA is effective; (2) The playback time overhead is only about 1%, will not affect the performance of the host APP; (3) The application bug can be reproduced through the RARA.

    参考文献
    相似文献
    引证文献
引用本文

闫凯,孙军梅,刘雪娇,朱敏. Android应用录制与回放工具设计.计算机系统应用,2018,27(9):249-255

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2018-01-11
  • 最后修改日期:2018-01-31
  • 录用日期:
  • 在线发布日期: 2018-08-17
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号