Using GUI run-time state as feedback to generate test cases

被引:0
|
作者
Yuan, Xun [1 ]
Memon, Atif M. [1 ]
机构
[1] Univ Maryland, Dept Comp Sci, College Pk, MD 20742 USA
基金
美国国家科学基金会;
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper presents a new automated model-driven technique to generate test cases by using feedback from the execution of a "seed test suite" on an application under test (AUT). The test cases in the seed suite are designed to be generated automatically and executed very quickly. During their execution, feedback obtained from the AUT's run-time state is used to generate new, "improved" test cases. The new test cases subsequently become part of the seed suite. This "anytime technique" continues iteratively, generating and executing additional test cases until resources are exhausted or testing goals have been met. The feedback-based technique is demonstrated for automated testing of graphical user interfaces (GUIs). An existing abstract model of the GUI is used to automatically generate the seed test suite. It is executed; during its execution, state changes in the GUI pinpoint important relationships between GUI events, which evolve the model and help to generate new test cases. Together with a reverse-engineering algorithm used to obtain the initial model and seed suite, the feedback-based technique yields a fully automatic, end-to-end GUI testing process. A feasibility study on four large fielded open-source software (OSS) applications demonstrates that this process is able to significantly improve existing techniques and help identify/report serious problems in the OSS. In response, these problems have been fixed by the developers of the OSS in subsequent versions.
引用
收藏
页码:396 / +
页数:2
相关论文
共 50 条
  • [1] State Model Inference Through the GUI Using Run-Time Test Generation
    Mulders, Ad
    Valdes, Olivia Rodriguez
    Pastor Ricos, Fernando
    Aho, Pekka
    Marin, Beatriz
    Vos, Tanja E. J.
    [J]. RESEARCH CHALLENGES IN INFORMATION SCIENCE, 2022, 446 : 546 - 563
  • [2] Using ontology to generate test cases for GUI testing
    Li, Han
    Guo, He
    Chen, Feng
    Yang, Hongji
    Yang, Yuansheng
    [J]. INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2011, 42 (2-3) : 213 - 224
  • [3] Test of the Run-time Infrastructure Software
    Tang, Jianbing
    Hu, Qigao
    Zha, Yabing
    [J]. PROGRESS IN MECHATRONICS AND INFORMATION TECHNOLOGY, PTS 1 AND 2, 2014, 462-463 : 1140 - +
  • [4] Generating Event Sequence-Based Test Cases Using GUI Runtime State Feedback
    Yuan, Xun
    Memon, Atif M.
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2010, 36 (01) : 81 - 95
  • [5] Modeling the impact of run-time uncertainty on optimal computation scheduling using feedback
    Dietz, RD
    Casavant, TL
    Scheetz, TE
    Braun, TA
    Andersland, MS
    [J]. PROCEEDINGS OF THE 1997 INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, 1997, : 481 - 488
  • [6] Advancing the state of the art in run-time inspection
    Filman, R
    Mehner, K
    Haupt, M
    [J]. OBJECT-ORIENTED TECHNOLOGY, 2003, 3013 : 190 - 196
  • [7] Using Apache portable run-time
    Bloom, R
    [J]. DR DOBBS JOURNAL, 2000, 25 (10): : 100 - +
  • [8] Run-time reconfigurable built-in-self-test
    Abielmona, Rami
    Groza, Voicu
    Khalaf, Arkan
    [J]. 2006 CANADIAN CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING, VOLS 1-5, 2006, : 1828 - +
  • [9] AMD SOC Power Management: Improving Performance/Watt Using Run-time Feedback
    Bircher, W. Lloyd
    Naffziger, Sam
    [J]. 2014 IEEE PROCEEDINGS OF THE CUSTOM INTEGRATED CIRCUITS CONFERENCE (CICC), 2014,
  • [10] Towards Run-Time Adaptation of Test Cases for Self-Adaptive Systems in the Face of Uncertainty
    Fredericks, Erik M.
    DeVries, Byron
    Cheng, Betty H. C.
    [J]. 9TH INTERNATIONAL SYMPOSIUM ON SOFTWARE ENGINEERING FOR ADAPTIVE AND SELF-MANAGING SYSTEMS (SEAMS 2014), 2014, : 17 - 26