• DocumentCode
    1451207
  • Title

    Hierarchical GUI test case generation using automated planning

  • Author

    Memon, Atif M. ; Pollack, Martha E. ; Soffa, Mary Lou

  • Author_Institution
    Dept. of Comput. Sci., Pittsburgh Univ., PA, USA
  • Volume
    27
  • Issue
    2
  • fYear
    2001
  • fDate
    2/1/2001 12:00:00 AM
  • Firstpage
    144
  • Lastpage
    155
  • Abstract
    The widespread use of GUIs for interacting with software is leading to the construction of more and more complex GUIs. With the growing complexity come challenges in testing the correctness of a GUI and its underlying software. We present a new technique to automatically generate test cases for GUIs that exploits planning, a well-developed and used technique in artificial intelligence. Given a set of operators, an initial state, and a goal state, a planner produces a sequence of the operators that will transform the initial state to the goal state. Our test case generation technique enables efficient application of planning by first creating a hierarchical model of a GUI based on its structure. The GUI model consists of hierarchical planning operators representing the possible events in the GUI. The test designer defines the preconditions and effects of the hierarchical operators, which are input into a plan-generation system. The test designer also creates scenarios that represent typical initial and goal states for a GUI user. The planner then generates plans representing sequences of GUI interactions that a user might employ to reach the goal state from the initial state. We implemented our test case generation system, called Planning Assisted Tester for Graphical User Interface Systems (PATHS) and experimentally evaluated its practicality and effectiveness. We describe a prototype implementation of PATHS and report on the results of controlled experiments to generate test cases for Microsoft´s WordPad
  • Keywords
    automatic testing; graphical user interfaces; planning (artificial intelligence); program testing; Microsoft WordPad; Planning Assisted Tester for Graphical User Interface Systems; artificial intelligence; automated planning; automatic test case generation; correctness testing; goal state; hierarchical GUI test case generation; initial state; operators; plan-generation system; software; Artificial intelligence; Automatic generation control; Automatic testing; Computer aided software engineering; Graphical user interfaces; Path planning; Prototypes; Software measurement; Software testing; System testing;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/32.908959
  • Filename
    908959