A model-to-implementation mapping tool for automated model-based GUI testing

  • Authors:
  • Ana C. R. Paiva;João C. P. Faria;Nikolai Tillmann;Raul A. M. Vidal

  • Affiliations:
  • Engineering Faculty of the University of Porto;Engineering Faculty of the University of Porto;Microsoft Research, Redmond, WA;Engineering Faculty of the University of Porto

  • Venue:
  • ICFEM'05 Proceedings of the 7th international conference on Formal Methods and Software Engineering
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents extensions to Spec Explorer to automate the testing of software applications through their GUIs based on a formal specification in Spec$\sharp$. Spec Explorer, a tool developed at Microsoft Research, already supports automatic generation and execution of test cases for API testing, but requires that the actions described in the model are bound to methods in a .Net assembly. The tool described in this paper extends Spec Explorer to automate GUI testing: it adds the capability to gather information about the physical GUI objects that are the target of the user actions described in the model; and it automatically generates a .Net assembly with methods that simulate those actions upon the GUI application under test. The GUI modelling and the overall test process supported by these tools are described. The approach is illustrated with the Notepad application.