Volume 18 Number 3 (Aug. 2023)
Home > Archive > 2023 > Volume 18 Number 3 (Aug. 2023) >
JSW 2023 Vol.18(3): 143-158
doi: 10.17706/jsw.18.3.143-158

Idle Strategy of Smart Monkey to Enhance Testing Operable GUI Regions

Bingyi Cui1,2*, Long Zhang<1,2*, Chenglong Sun3, Zhenyu Zhang1
Monika Ciesielkiewicz1,*, Claire F. Bonilla2, and Carlos Olave-Lopez-de-Ayala3
1. School of Education, Computense Unversity of Madrid, Spain
2. Department of Computer Science, UDIMA—Universidad a Distancia de Madrid, Spain
3. School of Ecomomics, University of Valencia, Spain
Email: monikacies@gmail.com(M.C.); clairefbonilla@gmail.com(C.F.B.); carolode@alumni.uv.es(C.O.-L.A.)
*Corresponding author

1State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing, China.
2University of Chinese Academy of Sciences, Beijing, China.
3Shopee Pte. Ltd., Singapore.

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.

Index Terms—Android UI testing, rendered GUI, monkey test


Cite: Bingyi Cui, Long Zhang1, Chenglong Sun3, Zhenyu Zhang, "Idle Strategy of Smart Monkey to Enhance Testing Operable GUI Regions," Journal of Software vol. 18, no. 3, pp. 143-158, 2023.

Copyright @ 2023 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0)

General Information

ISSN: 1796-217X (Online)
Frequency:  Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKIGoogle Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsweditorialoffice@gmail.com
  • Mar 01, 2024 News!

    Vol 19, No 1 has been published with online version    [Click]

  • Jan 04, 2024 News!

    JSW will adopt Article-by-Article Work Flow

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Nov 02, 2023 News!

    Vol 18, No 4 has been published with online version   [Click]