Skip to main content

The Approach of Graphical User Interface Testing Guided by Bayesian Model

  • Conference paper
  • First Online:
Computer Engineering and Networking

Part of the book series: Lecture Notes in Electrical Engineering ((LNEE,volume 277))

Abstract

GUI (graphical user interface) is becoming increasingly important in the software field for the reason that it is a friendly way for the users to interact with the software through GUI. Testing in GUI, however, is faced with many challenges, due to the immense number of event interactions. Testing all possible event interactions is impossible, since the number of required test case is huge in numbers. GUI testing mainly serves two goals: First, to establish confidence in assessment of GUI; Second, to find that more software defects in GUI testing while limiting the number of test cases. For this purpose, any testing method must be better at detecting defects. This article proposed a new technique that can be used for GUI testing, which can guide the GUI testing and find more defects as soon as possible. In this chapter, it introduces an approach of GUI testing guided by Bayesian model optimization scheme, discusses the Bayesian model topology and its issues encountered in the modeling process. It presents solutions in connection with the parameters problem. In the end, a simple case verifies the validity of the model during the GUI testing.

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 259.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 329.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 329.99
Price excludes VAT (USA)
  • Durable hardcover 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

References

  1. White, L., & Almezen, H. (2000). Generating test cases for GUI responsibilities using complete interaction sequences. In Proceedings of the 11th International Symposium on Software Reliability Engineering (pp. 110–121). San Jose, CA: IEEE Computer Society Press.

    Google Scholar 

  2. White, L., Almezen, H., & Alzeidi, N. (2001). User-based testing of GUI sequences and their interactions. In Proceedings of the 12th International Symposium on Software Reliability Engineering (pp. 54–63). Hong Kong: IEEE Computer Society Press.

    Google Scholar 

  3. Belli, F. (2001). Finite state testing and analysis of graphical user interfaces. In Proceedings of the 12th International Symposium on Software Reliability Engineering (pp. 34–43). Hong Kong: IEEE Computer Society.

    Google Scholar 

  4. Memon, A. M., Pollack, M. E., & Soffa, M. L. (2001). Hierarchical GUI test case generation using automated planning. IEEE Transactions on Software Engineering, 27(2), 144–155.

    Google Scholar 

  5. Brooks, P. A., & Memon, A. M. (2007). Automated GUI testing guided by usage profiles. In Proceedings of the Twenty-Second IEEE/ACM International Conference on Automated Software Engineering (pp. 333–342). New York: ACM.

    Google Scholar 

  6. Yuan, X., Cohen, M. B., & Memon, A. M. (2009). Towards dynamic adaptive automated test generation for graphical user interfaces. In IEEE International Conference on Software Testing, Verification, and Validation Workshops (pp. 263–266). Washington, DC: IEEE Computer Society Press.

    Google Scholar 

  7. Yuan, X., Cohen, M. B., & Memon, A. M. (2011). GUI interaction testing: Incorporating event context. IEEE Transactions on Software Engineering, 37(4), 559–574.

    Article  Google Scholar 

  8. Hu, H., Jiang, C.H., Ye, F., Cai, K.Y., Huang, D.Z., & Stephen, S.Y. (2010). A parallel implementation strategy of adaptive testing. In Computer Software and Applications Conference Workshops (pp. 214–219). Seoul: IEEE Computer Society Press.

    Google Scholar 

  9. Hu, H., Jiang, C.H., Cai, K.Y., Kai-Yuan Cai, Wong, W.E., & Mathur, A.P. (2013). Enhancing software reliability estimates using modified adaptive testing. Special Section: Component-Based Software Engineering (CBSE), 55(2), 288–300.

    Google Scholar 

  10. JUDEA PEARL. (2000). Causality: Models, reasoning, and inference (pp. 1–6). New York, NY: Cambridge University Press.

    Google Scholar 

  11. Bai, C. G., Jiang, C. H., & Cai, K. Y. (2010). A reliability improvement predictive approach to software testing with bayesian method. In Proceedings of the 29th Chinese Control Conference (pp. 6031–6036). Beijing: IEEE Computer Society Press.

    Google Scholar 

  12. Wooff, D.A., Goldstein, M., & Coolen, F. P. A. (2002). Bayesian graphical models for software testing. IEEE Transactions on Software Engineering, 28(5), 510–525.

    Google Scholar 

  13. Memon, A. T. (2001). A comprehensive framework for testing graphical user interfaces [D]. USA: University of Pittsburgh

    Google Scholar 

  14. Zhao, L. (2010). GUI software testing based on event handlers [D]. Beijing: Beihang University (In Chinese)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhifang Yang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Yang, Z., Yu, Z., Bai, C. (2014). The Approach of Graphical User Interface Testing Guided by Bayesian Model. In: Wong, W.E., Zhu, T. (eds) Computer Engineering and Networking. Lecture Notes in Electrical Engineering, vol 277. Springer, Cham. https://doi.org/10.1007/978-3-319-01766-2_44

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-01766-2_44

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-01765-5

  • Online ISBN: 978-3-319-01766-2

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics