基于GUI的Android移动软件性能测试
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金(61502170)


Performance Testing on Android Application Based on GUI
Author:
Affiliation:

Fund Project:

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

    移动应用软件已经拥有了数以千万计的用户群体.根据最新统计,Android手机以85.1%的市场占有份额,成为了最受欢迎的移动端设备.Android应用软件的快速开发,使得如何保证程序质量,成了难题.我们不仅要考虑程序的正确性,也应保证运行时的流畅性.现有的性能研究工作都基于传统的静态分析或者动态执行.对于Android程序,静态分析具有一定的局限性,而动态分析又忽略了APP执行时的遍历方式.因此,本文提出了基于GUI的Android自动化性能测试框架,将着重关注页面状态和APP状态的相关性.通过对页面的分析,聚合,尽可能遍历到APP的各个状态,然后从日志中,找出APP性能上的问题.本框架使用Java作为开发语言,搭建了Android移动软件自动化性能测试框架,并在开源社区F-Droid上随机抽取了移动应用软件进行实验.实验表明,该技术能更多的遍历APP的状态,发现APP在运行过程中出现的性能问题,取得良好的效果.

    Abstract:

    Mobile applications have become increasingly popular over the recent years. As shown in the latest statistics, over 85.1% of mobile phones is based on Android operation system. Due to the Android's open-source character, Android application is becoming increasingly popular. Nevertheless, how to ensure program quality has become a severe problem. Previous work focused on doing static or dynamic analysis on the code to find performance problem. Yet they did not focus on the combination of performance testing and oriental testing. Therefore, in this paper we presents a GUI-based software automated performance testing framework. By parsing pages, we try to find the APP states as much as possible, and then analyze the log files to find out the APP performance problems and recover the problem scenarios. To ensure the operability of our tool, we use Java to set up this automated testing framework for Android mobile software. We download mobile applications from the open source community named F-Droid for experiments. The result shows that our technology can find more state of the APP and reveal performance problems in the running process.

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

谷林涛,徐立华.基于GUI的Android移动软件性能测试.计算机系统应用,2018,27(8):126-131

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

京公网安备 11040202500063号