skip to main content
10.1145/3436286.3436297acmotherconferencesArticle/Chapter ViewAbstractPublication PagesisbdaiConference Proceedingsconference-collections
research-article

Human-like UI Automation through Automatic Exploration

Published:04 January 2021Publication History

ABSTRACT

Most UI testing tools for mobile games are designed to help us create and run the test cases with scripts. However, these scripts must be manually updated for new test cases, which increases the test cost. In this paper, we propose a method to implement humanlike UI automation through automatic exploration in mobile games. Our method can automatically explore most UIs by recognizing and operating the UI elements similar to manual UI testing. First, we design a lightweight convolutional neural network to detect the buttons in the UI image captured from the mobile phone. Next, we build a directed graph model to store the visited UIs during automatic exploration. Finally, according to our exploration strategy, we choose one button from the UI image and send a click action to the mobile phone. Our method obtains over 85% UI and button coverage rates on three popular mobile games.

References

  1. Z. Yu, F. M. Fahid, T. Menzies, G. Rothermel, K. Patrick, and S. Cherian. 2019. TERMINATOR: Better Automated UI Test Case Prioritization. arXiv preprint arXiv:1905.07019. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. AirTest. 2019. http://airtest.netease.com, Accessed December 13.Google ScholarGoogle Scholar
  3. UI Automator. 2019. https://developer.android.com/training/testing/uiautomator, Accessed December 13.Google ScholarGoogle Scholar
  4. Appium. 2019. http://appium.io, Accessed December 13.Google ScholarGoogle Scholar
  5. C. Clark and A. Storkey. 2015. Training deep convolutional neural networks to play go. In Proceedings of International Conference on Machine Learning (ICML), pp. 1766--1774. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. S. F. Gudmundsson, P. Eisen, E. Poromaa, A. Nodet, S. Purmonen, B. Kozakowski, R. Meurling, and L. Cao. 2018. Human-like playtesting with deep learning. In Proceedings of IEEE Conference on Computational Intelligence and Games (CIG), pp. 1--8.Google ScholarGoogle Scholar
  7. L. Mugrai, F. Silva, C. Holmgard, and J. Togelius. 2019. Automated playtesting of matching tile games. In Proceedings of IEEE Conference on Games (CoG), pp. 1--7.Google ScholarGoogle Scholar
  8. J. Redmon and A. Farhadi. 2018.Yolov3: An incremental improvement. arXiv preprint arXiv:1804. 02767.Google ScholarGoogle Scholar
  9. R. Szeliski. 2010. Computer vision: algorithms and applications. Springer Science & Business Media. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. X. Li, Y. Mao, Y. Liu, and C. Zhu. 2017. Memory-based pedestrian detection through sequence learning. In Proceedings of IEEE International Conference on Multimedia and Expo (ICME), pp. 1129--1134.Google ScholarGoogle Scholar
  11. W. Liu, D. Anguelov, D. Erhan, C. Szegedy, S. Reed, C. Fu, A. Berg. 2016. SSD: Single shot multibox detector. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 21--37.Google ScholarGoogle ScholarCross RefCross Ref
  12. S. Ren, K. He, G. Ross, J. Sun. 2015. Faster r-cnn: Towards real-time object detection with region proposal networks. Advances in Neural Information Processing Systems (NeurIPS), pp. 91--99. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. H. Law, J. Deng. 2018. Cornernet: Detecting objects as paired keypoints. In Proceedings of the European Conference on Computer Vision (ECCV), pp. 734--750.Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Y. Li, Y. Chen, N. Wang, Z. Zhang. 2019. Scale-aware trident networks for object detection. In Proceedings of the IEEE International Conference on Computer Vision, pp. 6054--6063Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. Human-like UI Automation through Automatic Exploration

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      ISBDAI '20: Proceedings of the 2020 2nd International Conference on Big Data and Artificial Intelligence
      April 2020
      640 pages
      ISBN:9781450376457
      DOI:10.1145/3436286

      Copyright © 2020 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 4 January 2021

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed limited

      Acceptance Rates

      Overall Acceptance Rate70of340submissions,21%
    • Article Metrics

      • Downloads (Last 12 months)23
      • Downloads (Last 6 weeks)1

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader