期刊文献+

一种Windows应用程序的GUI自动化遍历方法 被引量:1

GUI AUTOMATED TRAVERSAL METHOD FOR WINDOWS APPLICATIONS
下载PDF
导出
摘要 基于模型驱动的自动化测试研究大多需要事先对应用程序GUI进行遍历进而构建模型。然而以往自动化遍历的研究大部分局限于移动端并且GUI覆盖率并不高。为此,提出一种Windows应用程序的GUI自动化遍历方法。该方法基于事件触发动态探测应用程序GUI,通过对比应用软件窗口集合判断GUI状态是否迁移,提出步骤回溯以及样式过滤思想,解决了GUI遍历过程中的回环、遍历不充分、遍历效率低三个关键问题。基于Pwinauto实现了可以自动遍历Windows应用程序GUI的原型工具。实验表明,该方法平均近似GUI覆盖率可以达到57. 8%~74. 3%。 Researches based on model-driven automated testing need to traverse the application’s GUI to build model in advance.However,previous studies of automated traversal were mostly limited to mobile terminal and the coverage of GUI was not high enough.This paper proposed a GUI automation traversal method for Windows applications.This method could detect application’s GUI dynamically based on event-triggered.By comparing the set of application windows to judge whether the GUI state was migrated or not,the idea of step backtracking and style filtering were proposed,which solved three key problems of loopback,inadequate traverse,and low traversal efficiency in the GUI traversal process.We implemented a prototype tool based on Pwinatuo that could automatically traverse the GUI of the Windows application.Experiments show that this method can achieve a 57.8%to 74.3%average approximate GUI coverage.
作者 朱方祥 顾乃杰 Zhu Fangxiang;Gu Naijie(School of Computer Science and Technology,University of Science and Technology of China,Hefei 230027,Anhui,China;Anhui Province Key Laboratory of Computing and Communication Software,Hefei 230027,Anhui,China;Institute of Advanced Technology,University of Science and Technology of China,Hefei 230027,Anhui,China)
出处 《计算机应用与软件》 北大核心 2018年第11期26-32,共7页 Computer Applications and Software
关键词 图形用户界面 自动化 WINDOWS应用程序 遍历 GUI状态模型 平均近似覆盖率 Graphical user interface Automation Windows application Traverse GUI state model Average approximate coverage
  • 相关文献

参考文献2

二级参考文献32

  • 1Hu C, Neamtiu I. Automating GUI testing for Android applications. Proc. of the 6th International Workshop on Automation of Software Test. ACM. 2011. 77-83.
  • 2Amalfitano D, Fasolino AR, Tramontana P. A gui crawling-based technique for android mobile application testing. 4th IEEE International Conference on Software Testing, Verification and Validation Workshops (ICSTW). IEEE. 2011. 252-261.
  • 3Yeh CC, Huang SK, Chang SY. A black-box based android GUI testing system. Proc. of the 11th Annual International Conference on Mobile Systems, Applications, and Services. ACM. 2013. 529-530.
  • 4Yang S, Yan D, Rountev A. Testing for poor responsiveness in Android applications. 2013 1st International Workshop on the Engineering of Mobile-Enabled Systems (MOBS). IEEE, 2013: 1-6.
  • 5Jensen CS, Prasad MR, Moller A. Automated testing with targeted event sequence generation. Proc. of the 2013 International Symposium on Software Testing and Analysis. ACM. 2013. 67-77.
  • 6Zheng C, Zhu S, Dai S, Gu G, Gong X, Han X, Zou W. Smartdroid: an automatic system for revealing ui-based trigger conditions in android applications. Proc. of the 2nd ACM Workshop on Security and Privacy in Smartphones and Mobile Devices. ACM. 2012. 93-104.
  • 7Rastogi V, Chen Y, Enck W. Appsplayground: automatic security analysis of smartphone applications. Proc. of the third ACM Conference on Data and Application Security and Privacy. ACM. 2013. 209-220.
  • 8Mobile Test Center. August 2012. http://mtc.baidu.com/.
  • 9Android Developers. UI/Application Exerciser Monkey. August.http://developer.android.com/tools/help/monkey.html.
  • 10Android Developers. MonkeyRunner. June 2013. http://developer.android.com/tools/help/monkeyrunner_concepts.html.

共引文献5

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部