Idle Strategy of Smart Monkey to Enhance Testing Operable GUI Regions

Bingyi Cui, Long Zhang, Chenglong Sun, Zhenyu Zhang
{"title":"Idle Strategy of Smart Monkey to Enhance Testing Operable GUI Regions","authors":"Bingyi Cui, Long Zhang, Chenglong Sun, Zhenyu Zhang","doi":"10.17706/jsw.18.3.143-158","DOIUrl":null,"url":null,"abstract":": Graphical User Interface (GUI) testing is an important approach to ensuring software applications’ quality. The rendered GUI screen contains operable regions that can be triggered when certain events are applied to these areas. The previous traditional testing methods cannot efficiently identify the GUI area of this operation and generate the sequence of events. Smart Monkey is based on computer vision techniques, which can utilize several basic visual features to confirm the real operable GUI regions. In this paper, we propose an idle strategy of Smart Monkey for enhancing GUI testing. It can use a combination of Monkey and Smart Monkey to achieve high accuracy and efficiency. We implemented the improved technique as an Android testing tool. Then we conduct experiments on 14 real-world applications, comparing with Monkey and Smart Monkey methods, respectively. The results show that it can more efficiently identify operable regions to generate event sequences.","PeriodicalId":11452,"journal":{"name":"e Informatica Softw. Eng. J.","volume":"10 1","pages":"143-158"},"PeriodicalIF":0.0000,"publicationDate":"2023-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"e Informatica Softw. Eng. J.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.17706/jsw.18.3.143-158","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

: Graphical User Interface (GUI) testing is an important approach to ensuring software applications’ quality. The rendered GUI screen contains operable regions that can be triggered when certain events are applied to these areas. The previous traditional testing methods cannot efficiently identify the GUI area of this operation and generate the sequence of events. Smart Monkey is based on computer vision techniques, which can utilize several basic visual features to confirm the real operable GUI regions. In this paper, we propose an idle strategy of Smart Monkey for enhancing GUI testing. It can use a combination of Monkey and Smart Monkey to achieve high accuracy and efficiency. We implemented the improved technique as an Android testing tool. Then we conduct experiments on 14 real-world applications, comparing with Monkey and Smart Monkey methods, respectively. The results show that it can more efficiently identify operable regions to generate event sequences.
智能猴子空闲策略增强可操作GUI区域的测试
图形用户界面(GUI)测试是确保软件应用程序质量的重要方法。呈现的GUI屏幕包含可操作区域,当某些事件应用于这些区域时,可以触发这些区域。以往的传统测试方法无法有效识别该操作的GUI区域并生成事件序列。Smart Monkey是基于计算机视觉技术,它可以利用几个基本的视觉特征来确认真正可操作的GUI区域。本文提出了一种基于Smart Monkey的空闲策略来增强GUI测试。它可以使用Monkey和Smart Monkey的组合,以达到较高的准确性和效率。我们将改进后的技术作为Android测试工具来实现。然后我们在14个实际应用中进行了实验,分别与Monkey和Smart Monkey方法进行了比较。结果表明,该方法可以更有效地识别可操作区域,生成事件序列。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信