Towards Model Construction Based on Test Cases and GUI Extraction

Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9976)


The adoption of model-based testing techniques is hindered by the difficulty of creating a test model. Various techniques to automate the modelling process have been proposed, based on software process artefacts or an existing product. This paper outlines a hybrid approach to model construction, based on two previously proposed methods. The presented approach combines information in pre-existing test cases with a model extracted from the graphical user interface of the product.


Model extraction Model-based testing Software testing 



Funding by Ulla Tuominen Foundation is gratefully acknowledged.


  1. 1.
    Aho, P., Suarez, M., Kanstrén, T., Memon, A.M.: Industrial adoption of automatically extracted GUI models for testing. In: Chaudron, M., Genero, M., Abrahão, S., Pareto, L. (eds.) Proceedings of the 3rd International Workshop on Experiences and Empirical Studies in Software Modelling (EESSMod 2013), CEUR-WS, vol. 1078, pp. 49–54. CEUR Workshop Proceedings, October 2013Google Scholar
  2. 2.
    Aho, P., Suarez, M., Kanstrén, T., Memon, A.M.: Murphy tools: utilizing extracted GUI models for industrial software testing. In: O’Conner, L. (ed.) Proceedings of the 7th International Conference on Software Testing, Verification and Validation Workshops (ICSTW 2014), pp. 343–348. IEEE Computer Society, Los Alamitos (2014)Google Scholar
  3. 3.
    Buwalda, H.: Action figures. In: Software Testing and Quality Engineering Magazine, pp, 42–47, March/April 2003Google Scholar
  4. 4.
    Dallmeier, V., Knopp, N., Mallon, C., Hack, S., Zeller, A.: Generating test cases for specification mining. In: Proceedings of the 19th International Symposium on Software Testing and Analysis (ISSTA 2010), pp. 85–96. ACM, New York, July 2010Google Scholar
  5. 5.
    F-Secure: GitHub - F-Secure/murphy (2014). Accessed June 2016
  6. 6.
    Grilo, A.M.P., Paiva, A.C.R., Faria, J.P.: Reverse engineering of GUI models for testing. In: Proceedings of the 5th Iberian Conference on Information Systems and Technologies (CISTI 2010), pp. 1–6. IEEE Computer Society, Los Alamitos, June 2010Google Scholar
  7. 7.
    Hagerer, A., Hungar, H., Niese, O., Steffen, B.: Model generation by moderated regular extrapolation. In: Kutsche, R.-D., Weber, H. (eds.) FASE 2002. LNCS, vol. 2306, pp. 80–95. Springer, Heidelberg (2002). doi: 10.1007/3-540-45923-5_6 CrossRefGoogle Scholar
  8. 8.
    Hungar, H., Margaria, T., Steffen, B.: Test-based model generation for legacy systems. In: Proceedings of the 2003 International Test Conference (ICT 2003), vol. 2, pp. 150–159. IEEE Computer Society, Los Alamitos, September–October 2003Google Scholar
  9. 9.
    Jääskeläinen, A., Kervinen, A., Katara, M., Valmari, A., Virtanen, H.: Synthesizing test models from test cases. In: Chockler, H., Hu, A.J. (eds.) HVC 2008. LNCS, vol. 5394, pp. 179–193. Springer, Heidelberg (2009). doi: 10.1007/978-3-642-01702-5_18 CrossRefGoogle Scholar
  10. 10.
    Ma, C., Du, C., Zhang, T., Hu, F., Cai, X.: WSDL-based automated test data generation for web service. In: Kawada, S. (ed.) Proceedings of the International Conference on Computer Science and Software Engineering (CSSE 2008), pp. 731–737. IEEE Computer Society, Los Alamitos (2008)CrossRefGoogle Scholar
  11. 11.
    Memon, A., Banerjee, I., Nagarajan, A.: GUI ripping: reverse engineering of graphical user interfaces for testing. In: van Deursen, A., Stroulia, E., Storey, M.A.D. (eds.) Proceedings of the 10th Working Conference on Reverse Engineering (WCRE 2003), pp. 260–269. IEEE Computer Society, Los Alamitos (2003)Google Scholar
  12. 12.
    Memon, A.M.: An event-flow model of GUI-based applications for testing. Softw. Test. Verif. Reliab. (STVR) 17(3), 137–157 (2007)MathSciNetCrossRefGoogle Scholar
  13. 13.
    Silva, J.C., Silva, C., Gonçalo, R.D., Saraiva, J., Campos, J.C.: The GUISurfer tool: towards a language independent approach to reverse engineering GUI code. In: Proceedings of the 2nd ACM SIGCHI Symposium on Engineering Interactive Computing Systems (EICS 2010), pp. 181–186. ACM, New York, June 2010Google Scholar
  14. 14.
    Xie, T., Notkin, D.: Mutually enhancing test generation and specification inference. In: Petrenko, A., Ulrich, A. (eds.) FATES 2003. LNCS, vol. 2931, pp. 60–69. Springer, Heidelberg (2004). doi: 10.1007/978-3-540-24617-6_5 CrossRefGoogle Scholar
  15. 15.
    Yang, W., Prasad, M.R., Xie, T.: A grey-box approach for automated GUI-model generation of mobile applications. In: Cortellessa, V., Varró, D. (eds.) FASE 2013. LNCS, vol. 7793, pp. 250–265. Springer, Heidelberg (2013). doi: 10.1007/978-3-642-37057-1_19 CrossRefGoogle Scholar

Copyright information

© IFIP International Federation for Information Processing 2016

Authors and Affiliations

  1. 1.Department of Pervasive ComputingTampere University of TechnologyTampereFinland

Personalised recommendations