Share on Facebook Tweet on Twitter Share on LinkedIn Share by email
A Model-to-Implementation Mapping Tool for Automated Model-Based GUI Testing

Ana Paiva, João C. P. Faria, Nikolai Tillmann, and Raul F. A. M. Vidal

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 . 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.

Details

Publication typeInproceedings
Published inICFEM
URLhttp://dx.doi.org/10.1007/11576280
Pages450-464
Volume3785
SeriesLecture Notes in Computer Science
PublisherSpringer Verlag
> Publications > A Model-to-Implementation Mapping Tool for Automated Model-Based GUI Testing