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.