• DocumentCode
    2780554
  • Title

    A Dynamic Partitioning Approach for GUI Testing

  • Author

    Cai, Kai-Yuan ; Zhao, Lei ; Wang, Feng

  • Author_Institution
    Dept. of Autom. Control, Beijing Univ. of Aeronaut. & Astronaut.
  • Volume
    2
  • fYear
    2006
  • fDate
    17-21 Sept. 2006
  • Firstpage
    223
  • Lastpage
    228
  • Abstract
    Previous works on GUI testing are mainly concerned with how to define or generate GUI test cases. The issue of how to employ generated GUI test cases or primitive actions is seldom discussed. In this paper we propose a dynamic partitioning approach for GUI testing to address the issue. In this approach, the given GUI primitive actions are dynamically partitioned into two disjoint classes: one comprising prioritized primitive actions and the other comprising non-prioritized ones. The testing process is divided into two stages and contains two feedback loops. The first stage prioritizes primitive actions and the second stage selects and performs prioritized primitive actions. The first feedback loop is local and occurs in the second stage, which adjusts the memberships of primitive actions after they are performed. The second feedback loop is global and occurs between the first and second stages. It switches GUI testing from the second stage to the first stage upon no prioritized primitive actions are available. Two testing experiments with real GUI applications show that the proposed dynamic partitioning approach can really work in practice and may significantly outperform the random testing approach in the sense that the dynamic partitioning approach uses fewer primitive actions to achieve given testing goals and behaves more stable. The dynamic partitioning approach adopts explicit feedback mechanisms and contributes to the emerging area of software cybernetics that explores the interplay between software and control
  • Keywords
    automatic test pattern generation; graphical user interfaces; program control structures; program testing; GUI testing; dynamic partitioning; feedback loops; random testing; software cybernetics; Aerodynamics; Application software; Automatic testing; Computational Intelligence Society; Cybernetics; Feedback loop; Graphical user interfaces; Materials testing; Software testing; Switches;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference, 2006. COMPSAC '06. 30th Annual International
  • Conference_Location
    Chicago, IL
  • ISSN
    0730-3157
  • Print_ISBN
    0-7695-2655-1
  • Type

    conf

  • DOI
    10.1109/COMPSAC.2006.94
  • Filename
    4020171