首页 | 官方网站   微博 | 高级检索  
     

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

关 键 词:性能测试  Android应用程序  GUI测试  移动应用  自动化
收稿时间:2017/12/27 0:00:00
修稿时间:2018/1/16 0:00:00

Performance Testing on Android Application Based on GUI
GU Lin-Tao and XU Li-Hua.Performance Testing on Android Application Based on GUI[J].Computer Systems& Applications,2018,27(8):126-131.
Authors:GU Lin-Tao and XU Li-Hua
Affiliation:School of Computer Science and Software Engineering, East China Normal University, Shanghai 200062, China and School of Computer Science and Software Engineering, East China Normal University, Shanghai 200062, China
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.
Keywords:performance testing  Android application  GUI testing  mobile application  automation
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号