Skip to main content

Scriptless and Seamless: Leveraging Probabilistic Models for Enhanced GUI Testing in Native Android Applications

  • Conference paper
  • First Online:
Research Challenges in Information Science (RCIS 2024)

Abstract

The growing mobile app market demands effective testing methods. Scriptless testing at the Graphical User Interface (GUI) level allows test automation without traditional scripting. Nevertheless, existent scriptless tools lack efficient prioritization and customization of oracles and require manual effort to add application-specific context, hindering rapid application releases. This paper presents Mint as an alternative tool that addresses these drawbacks. Preliminary results indicate its capability to detect accessibility problems.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 119.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/ing-bank/mint.

References

  1. Geiger-Prat, S., Marín, B., España, S., Giachetti, G.: A GUI modeling language for mobile applications. In: 9th RCIS, pp. 76–87. IEEE (2015)

    Google Scholar 

  2. Jansen, T., et al.: Scriptless GUI testing on mobile applications. In: IEEE QRS (2022)

    Google Scholar 

  3. Buildfire: Mobile app download statistics & usage statistics (2021). https://buildfire.com/app-statistics/. Accessed 26 Nov 2023

  4. Asfaw, D.: Benefits of automated testing over manual testing. Int. J. Innov. Res. Inf. Secur. 2(1), 5–13 (2015)

    Google Scholar 

  5. Coppola, R., Raffero, E., Torchiano, M.: Automated mobile UI test fragility: an exploratory assessment study on android. In: INTUITEST. ACM (2016)

    Google Scholar 

  6. Vos, T.E., Aho, P., Pastor Ricos, F., Rodriguez-Valdes, O., Mulders, A.: TESTAR-scriptless testing through graphical user interface. Softw. Test. Verif. Reliab. 31(3), e1771 (2021)

    Article  Google Scholar 

  7. Bons, A., Marín, B., Aho, P., Vos, T.E.: Scripted and Scriptless GUI testing for web applications: an industrial case. In: IST 2023 (2023)

    Google Scholar 

  8. Li, Y., Yang, Z., Guo, Y., Chen, X.: Droidbot: a lightweight UI-guided test input generator for android. In: IEEE/ACM ICSE-C. IEEE (2017)

    Google Scholar 

  9. Machiry, A., Tahiliani, R., Naik, M.: Dynodroid: an input generation system for android apps. In: Proceedings de ESEC/FSE 2013 (2013)

    Google Scholar 

  10. Su, T.: FSMdroid: guided GUI testing of android apps. In: IEEE/ACM ICSE-C (2016)

    Google Scholar 

  11. Gu, T., et al.: Practical GUI testing of android applications via model abstraction and refinement. In: IEEE/ACM 41st ICSE, pp. 269–280 (2019)

    Google Scholar 

  12. Mao, K., Harman, M., Jia, Y.: Sapienz: multi-objective automated testing for android applications. In: ISSTA 2016 (2016)

    Google Scholar 

  13. Li, Y., Yang, Z., Guo, Y., Chen, X.: Humanoid: a deep learning-based approach to automated black-box android app testing. In: 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE) (2019)

    Google Scholar 

  14. Romdhana, A., Merlo, A., Ceccato, M., Tonella, P.: Deep reinforcement learning for black-box testing of android apps. In: ACM TOSEM 2022 (2022)

    Google Scholar 

  15. Pan, M., Huang, A., Wang, G., Zhang, T., Li, X.: Reinforcement learning based curiosity-driven testing of android applications. In: 29th ACM SIGSOFT International Symposium on Software Testing and Analysis (2020)

    Google Scholar 

  16. Gu, T., et al.: Aimdroid: activity-insulated multi-level automated testing for android applications. In: International Conference on Software Maintenance and Evolution (2017)

    Google Scholar 

  17. Xiong, Y.et al.: An empirical study of functional bugs in android apps. In: ACM SIGSOFT 2023 (2023)

    Google Scholar 

  18. Android: Android accessibility overview. Accessed 26 Nov 2023. https://developer.android.com/guide/topics/ui/accessibility

  19. Myers, G.J., Badgett, T., Thomas, T.M., Sandler, C.: The Art of Software Testing, vol. 2. Wiley Online Library, Hoboken (2004)

    Google Scholar 

Download references

Acknowledgements

This project was done within the context of the AUTOLINK project, Automated Unobtrusive Techniques for LINKing requirements and testing in agile software development (19521).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Olivia Rodríguez-Valdés .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Rodríguez-Valdés, O., van der Vlist, K., van Dalen, R., Marín, B., Vos, T.E.J. (2024). Scriptless and Seamless: Leveraging Probabilistic Models for Enhanced GUI Testing in Native Android Applications. In: Araújo, J., de la Vara, J.L., Santos, M.Y., Assar, S. (eds) Research Challenges in Information Science. RCIS 2024. Lecture Notes in Business Information Processing, vol 514. Springer, Cham. https://doi.org/10.1007/978-3-031-59468-7_10

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-59468-7_10

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-59467-0

  • Online ISBN: 978-3-031-59468-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics