• DocumentCode
    635245
  • Title

    Exploring the internal state of user interfaces by combining computer vision techniques with grammatical inference

  • Author

    Givens, Paul ; Chakarov, Aleksandar ; Sankaranarayanan, Sriram ; Yeh, Teng-Hao

  • Author_Institution
    Univ. of Colorado, Boulder, CO, USA
  • fYear
    2013
  • fDate
    18-26 May 2013
  • Firstpage
    1165
  • Lastpage
    1168
  • Abstract
    In this paper, we present a promising approach to systematically testing graphical user interfaces (GUI) in a platform independent manner. Our framework uses standard computer vision techniques through a python-based scripting language (Sikuli script) to identify key graphical elements in the screen and automatically interact with these elements by simulating keypresses and pointer clicks. The sequence of inputs and outputs resulting from the interaction is analyzed using grammatical inference techniques that can infer the likely internal states and transitions of the GUI based on the observations. Our framework handles a wide variety of user interfaces ranging from traditional pull down menus to interfaces built for mobile platforms such as Android and iOS. Furthermore, the automaton inferred by our approach can be used to check for potentially harmful patterns in the interface´s internal state machine such as design inconsistencies (eg,. a keypress does not have the intended effect) and mode confusion that can make the interface hard to use. We describe an implementation of the framework and demonstrate its working on a variety of interfaces including the user-interface of a safety critical insulin infusion pump that is commonly used by type-1 diabetic patients.
  • Keywords
    authoring languages; computer vision; graphical user interfaces; human computer interaction; learning (artificial intelligence); natural language processing; Android; GUI; Sikuli script; computer vision techniques; design inconsistencies; grammatical inference techniques; graphical user interfaces; iOS; interface internal state machine; keypresses; mobile platforms; mode confusion; pointer clicks; pull down menus; python-based scripting language; safety critical insulin infusion pump; type-1 diabetic patients; Automata; Calculators; Computer vision; Graphical user interfaces; Insulin; Pumps;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering (ICSE), 2013 35th International Conference on
  • Conference_Location
    San Francisco, CA
  • Print_ISBN
    978-1-4673-3073-2
  • Type

    conf

  • DOI
    10.1109/ICSE.2013.6606669
  • Filename
    6606669