Model-Based On-the-Fly Testing of Web Applications and Multilingual Websites

  • Winfried DulzEmail author
Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 1077)


This paper examines techniques for the model-based testing of web applications and multilingual websites. For this purpose, the simple web game application GuessNumbers is used to explain the essential steps for a model-based test process that applies statistical usage models to generate appropriate test suites. We also discuss methods for performing on-the-fly testing by means of an executable usage model. Model-based techniques that provide graphical representations of usage models make it easy to set the test focus on specific regions of the system under test that shall be tested. In addition, adapted profiles support the selective generation of test suites. We also show how generic usage models that are adapted to specific environments during the test execution, enable multilingual websites to be tested. Using the TestPlayer tool chain, a model-based testing approach is easily done.


Model-based testing Statistical usage model Test suite generation On-the-Fly testing Website testing Selenium 


  1. 1.
    El-Far, I.K., Whittaker, J.A.: Model-based software testing. In: Marciniak, J.J. (ed.) Encyclopedia on Software Engineering. Wiley, New York (2001)Google Scholar
  2. 2.
    Legeard, B., Utting, M.: Practical Model-Based Testing. Elsevier, Amsterdam (2007)Google Scholar
  3. 3.
    Rosaria, S., Robinson, H.: Applying models in your testing process. Inf. Softw. Technol. 42, 815–824 (2000)CrossRefGoogle Scholar
  4. 4.
    Whittaker, J.A., Poore, J.H.: Markov analysis of software specifications. ACM Trans. Softw. Eng. Methodol. 2(1), 93–106 (1993)CrossRefGoogle Scholar
  5. 5.
    Walton, G.H., Poore, J.H., Trammell, C.J.: Statistical testing of software based on a usage model. Softw. Pract. Exp. 25(1), 97–108 (1995)CrossRefGoogle Scholar
  6. 6.
    Musa, J.D.: The operational profile. In: Özekici, S. (ed.) Reliability and Maintenance of Complex Systems. NATO ASI Series (Series F: Computer and Systems Sciences), vol. 154, pp. 333–344. Springer, Heidelberg (1996). Scholar
  7. 7.
    Walton, G., Poore, J.: Generating transition probabilities to support model-based software testing. Softw. Pract. Exp. 30(10), 1095–1106 (2000)CrossRefGoogle Scholar
  8. 8.
    Poore, J., Walton, G., Whittaker, J.: A constraint-based approach to the representation of software usage models. Inf. Softw. Technol. 42(12), 825–833 (2000)CrossRefGoogle Scholar
  9. 9.
    Takagi, T., Furukawa, Z.: Constructing a usage model for statistical testing with source code generation methods. In: Proceedings of the 11th Asia-Pacific Software Engineering Conference (APSEC 2004) (2004)Google Scholar
  10. 10.
    Dulz, W., Holpp, S., German, R.: A polyhedron approach to calculate probability distributions for Markov chain usage models. Electron. Notes Theor. Comput. Sci. 264(3), 19–35 (2010)CrossRefGoogle Scholar
  11. 11.
    Prowell, S.: Computations for Markov chain usage models. Technical report, Software Engineering Institute, Carnegie-Mellon University, Pittsburgh, USA, 2000. UT-CS-03-505 (2000)Google Scholar
  12. 12.
    Sayre, K., Poore, J.: Stopping criteria for statistical testing. Inf. Softw. Technol. 42(12), 851–857 (2000)CrossRefGoogle Scholar
  13. 13.
    Gutjahr, W.: Importance sampling of test cases in Markovian software usage models. Probab. Eng. Inf. Sci. 11, 19–36 (1997)CrossRefGoogle Scholar
  14. 14.
    Prowell, S.J.: JUMBL: a tool for model-based statistical testing. In: HICSS, pp. 3–37 (2003)Google Scholar
  15. 15.
    Dulz, W., Zhen, F.: MaTeLo - statistical usage testing by annotated sequence diagrams, Markov chains and TTCN-3. In: IEEE International Conference on Quality Software (QSIC 2003), pp. 336–342 (2003)Google Scholar
  16. 16.
    Dulz, W.: A comfortable testplayer for analyzing statistical usage testing strategies. In: ICSE Workshop on Automation of Software Test (AST 2011), Honolulu, Hawaii (2011)Google Scholar
  17. 17.
    Dulz, W.: Model-based strategies for reducing the complexity of statistically generated test suites. In: Winkler, D., Biffl, S., Bergsmann, J. (eds.) SWQD 2013. LNBIP, vol. 133, pp. 89–103. Springer, Heidelberg (2013). Scholar
  18. 18.
    Veanes, M., Campbell, C., Schulte, W., Kohli, P.: On-The-fly testing of reactive systems. Technical report, Microsoft Research, Redmond, WA, USA, 2005. MSR-TR-2005-05 (2005)Google Scholar
  19. 19.
    Dulz, W.: On-the-fly testing by using an executable TTCN-3 Markov chain usage model. In: Maciaszek, L.A., González-Pérez, C., Jablonski, S. (eds.) ENASE 2008. CCIS, vol. 69, pp. 17–30. Springer, Heidelberg (2010). Scholar
  20. 20.
    Dulz, W.: A versatile tool environment to perform model-based testing of web applications and multilingual websites. In: 13th International Conference on Software Technologies (ICSOFT 2018), pp. 45–56 (2018)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.TestUS ConsultingNurembergGermany

Personalised recommendations