• DocumentCode
    155183
  • Title

    Black-Box Test Data Generation for GUI Testing

  • Author

    Darvish Darab, Mohammad Ali ; Chang, Carl K.

  • Author_Institution
    Dept. of Comput. Sci., Iowa State Univ. Ames, Ames, IA, USA
  • fYear
    2014
  • fDate
    2-3 Oct. 2014
  • Firstpage
    133
  • Lastpage
    138
  • Abstract
    Effective system testing of applications with a Graphical User Interface (GUI) front-end demands careful generation of event sequences as well as providing relevant test data for parameterized widgets, i.e., widgets that accept input values such as textboxes and textareas. Current GUI testing techniques either manipulate the source code of the application under test (AUT) to generate the test data, or blindly use a set of random string values. In this paper, we propose a third novel way to generate relevant test data for GUI testing. We exploit the information provided in the GUI structure to extract a set of key identifiers for each parameterized widget. These identifiers are used to compose appropriate search phrases and collect relevant test data from the Internet. The results of an empirical study on five GUI-based applications show that the proposed approach is applicable and can get some hard-to-cover branches in the subject programs to execute. The proposed technique works from the black-box perspective and is entirely independent from GUI modeling and event sequence generation, thus it does not need access to the source code of AUT and provides an opportunity to be integrated with the existing GUI testing frameworks.
  • Keywords
    Internet; graphical user interfaces; program testing; random processes; source code (software); AUT; GUI modeling; GUI structure; GUI testing techniques; GUI-based applications; Internet; application under test; black-box perspective; event sequence generation; graphical user interface front-end; parameterized widget; parameterized widgets; random string values; search phrases; source code manipulate; system testing; Concrete; Data mining; Data models; Electronic mail; Graphical user interfaces; Java; Testing; Model-based GUI Testing; Parameterized Widget; Test Data Generation;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Quality Software (QSIC), 2014 14th International Conference on
  • Conference_Location
    Dallas, TX
  • ISSN
    1550-6002
  • Print_ISBN
    978-1-4799-7197-8
  • Type

    conf

  • DOI
    10.1109/QSIC.2014.42
  • Filename
    6958397