• DocumentCode
    1994457
  • Title

    Maintaining and evolving GUI-directed test scripts

  • Author

    Grechanik, Mark ; Xie, Qing ; Fu, Chen

  • Author_Institution
    Accenture Technol. Labs., Chicago, IL
  • fYear
    2009
  • fDate
    16-24 May 2009
  • Firstpage
    408
  • Lastpage
    418
  • Abstract
    Since manual black-box testing of GUI-based applications (GAPs) is tedious and laborious, test engineers create test scripts to automate the testing process. These test scripts interact with GAPs by performing actions on their GUI objects. An extra effort that test engineers put in writing test scripts is paid off when these scripts are run repeatedly. Unfortunately, releasing new versions of GAPs with modified GUIs breaks their corresponding test scripts thereby obliterating benefits of test automation. We offer a novel approach for maintaining and evolving test scripts so that they can test new versions of their respective GAPs. We built a tool to implement our approach, and we conducted a case study with forty five professional programmers and test engineers to evaluate this tool. The results show with strong statistical significance that users find more failures and report fewer false positives (p < 0.02) in test scripts with our tool than with a flagship industry product and a baseline manual approach. Our tool is lightweight and it takes less than eight seconds to analyze approximately 1KLOC of test scripts.
  • Keywords
    graphical user interfaces; program testing; software maintenance; software tools; GUI-based application; GUI-directed test script evolution; GUI-directed test script maintenance; flagship industry product; manual black-box testing; professional programmer; statistical significance; test automation tool; test engineer; Automatic testing; Automation; Costs; Graphical user interfaces; Logic testing; Maintenance engineering; Manuals; Performance evaluation; Runtime; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering, 2009. ICSE 2009. IEEE 31st International Conference on
  • Conference_Location
    Vancouver, BC
  • ISSN
    0270-5257
  • Print_ISBN
    978-1-4244-3453-4
  • Type

    conf

  • DOI
    10.1109/ICSE.2009.5070540
  • Filename
    5070540