Integration of specification-based and CR-based approaches for GUI testing

被引:0
|
作者
Chen, Woei-Kae [1 ]
Shen, Zheng-Wen [1 ]
Tsai, Tung-Hung [1 ]
机构
[1] Natl Taipei Univ Technol, Dept Comp Sci & Informat Engn, Taipei 106, Taiwan
关键词
GUI testing; test-driven development; test specification; capture/replay; !text type='Java']Java[!/text;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
CR (capture and replay) has been a widely accepted methodology for GUI testing. However, a deficiency of a CR-based approach is that test scripts can not be produced before an application under test (AUT) is correctly implemented, which excludes the possibility of doing test-driven development (TDD). An alternative is the specification-based approach, which defines GUI behaviors by using a GUI specification language. A specification-based approach is suitable for doing TDD. However, after the AUT is partially or fully implemented, the specification-based approach becomes less convenient than the CR-based approach, since capturing can be very useful in maintaining test scripts. In this paper, we propose the integration of the specification-based and CR-based approaches so as to incorporate both of their advantages. We define an event model which servers as the core of both the specification language and the capture/replay mechanism. Based on this event model, we implement a GUI testing tool, called GTT, for Java applications. We show how to apply GTT in a TDD style for GUI testing and quantitatively report the benefits of the integration.
引用
收藏
页码:1293 / 1307
页数:15
相关论文
共 50 条
  • [31] CHOC'LATE A Framework for Specification-based Testing
    Poon, Pak-Lok
    Tang, Sau-Fun
    Tse, T. H.
    Chen, T. Y.
    COMMUNICATIONS OF THE ACM, 2010, 53 (04) : 113 - 118
  • [32] Parallel Specification-Based Testing for Concurrent Programs
    Minh Do, Canh
    Ogata, Kazuhiro
    IEEE Access, 2022, 10 : 24955 - 24975
  • [33] Automated Specification-Based Testing of REST APIs
    Banias, Ovidiu
    Florea, Diana
    Gyalai, Robert
    Curiac, Daniel-Ioan
    SENSORS, 2021, 21 (16)
  • [34] On Testing Techniques for Specification-based Software Structure
    Zhong, Li
    2009 INTERNATIONAL FORUM ON INFORMATION TECHNOLOGY AND APPLICATIONS, VOL 2, PROCEEDINGS, 2009, : 22 - 25
  • [35] Specification-based logic coverage testing criteria
    Qian Z.-S.
    Miao H.-K.
    Ruan Jian Xue Bao/Journal of Software, 2010, 21 (07): : 1536 - 1549
  • [36] A specification-based approach to testing polymorphic attributes
    Liu, L
    Miao, HK
    FORMAL METHODS AND SOFTWARE ENGINEERING, PROCEEDINGS, 2004, 3308 : 306 - 319
  • [37] Specification-Based Testing in Software Engineering Courses
    Fisher, Gene
    Johnson, Corrigan
    SIGCSE'18: PROCEEDINGS OF THE 49TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2018, : 800 - 805
  • [38] Evaluation of three specification-based testing criteria
    Abdurazik, A
    Ammann, P
    Ding, W
    Offutt, J
    SIXTH IEEE INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS, PROCEEDINGS, 2000, : 179 - 187
  • [39] Evaluation of three specification-based testing criteria
    Abdurazik, Aynur
    Ammann, Paul
    Ding, Wei
    Offutt, Jeff
    2000, IEEE, Piscataway, NJ, United States
  • [40] A Framework for Formal Specification Considering Review and Specification-Based Testing
    Nakatsugawa, Yasumasa
    Kurita, Taro
    Araki, Keijiro
    TENCON 2010: 2010 IEEE REGION 10 CONFERENCE, 2010, : 2444 - 2448