A scalable formal method for design and automatic checking of user interfaces

  • Authors:
  • Jean Berstel;Stefano Crespi Reghizzi;Gilles Roussel;Pierluigi San Pietro

  • Affiliations:
  • Institut Gaspard-Monge, Université de Marne-la-Vallée, France;Politecnico di Milano, Milano, Italia;Institut Gaspard-Monge, Université de Marne-la-Vallée, France;Politecnico di Milano, Milano, Italia

  • Venue:
  • ACM Transactions on Software Engineering and Methodology (TOSEM)
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

The article addresses the formal specification, design and implementation of the behavioral component of graphical user interfaces. The complex sequences of visual events and actions that constitute dialogs are specified by means of modular, communicating grammars called VEG (Visual Event Grammars), which extend traditional BNF grammars to make them more convenient to model dialogs.A VEG specification is independent of the actual layout of the GUI, but it can easily be integrated with various layout design toolkits. Moreover, a VEG specification may be verified with the model checker SPIN, in order to test consistency and correctness, to detect deadlocks and unreachable states, and also to generate test cases for validation purposes.Efficient code is automatically generated by the VEG toolkit, based on compiler technology. Realistic applications have been specified, verified and implemented, like a Notepad-style editor, a graph construction library and a large real application to medical software. It is also argued that VEG can be used to specify and test voice interfaces and multimodal dialogs. The major contribution of our work is blending together a set of features coming from GUI design, compilers, software engineering and formal verification. Even though we do not claim novelty in each of the techniques adopted for VEG, they have been united into a toolkit supporting all GUI design phases, that is, specification, design, verification and validation, linking to applications and coding.