GUI Testing Using Computer Vision

被引:0
|
作者
Chang, Tsung-Hsiang [1 ]
Yeh, Tom [2 ,3 ]
Miller, Robert C. [1 ]
机构
[1] MIT, CSAIL, Cambridge, MA 02139 USA
[2] Univ Maryland, UMIACS, College Pk, MD 20742 USA
[3] Univ Maryland, HCIL, College Pk, MD 20742 USA
基金
美国国家科学基金会;
关键词
GUI testing; GUI automation; test by demonstration;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Testing a GUI's visual behavior typically requires human testers to interact with the GUI and to observe whether the expected results of interaction are presented. This paper presents a new approach to GUI testing using computer vision for testers to automate their tasks. Testers can write a visual test script that uses images to specify which GUI components to interact with and what visual feedback to be observed. Testers can also generate visual test scripts by demonstration. By recording both input events and screen images, it is possible to extract the images of components interacted with and the visual feedback seen by the demonstrator, and generate a visual test script automatically. We show that a variety of GUI behavior can be tested using this approach. Also, we show how this approach can facilitate good testing practices such as unit testing, regression testing, and test-driven development.
引用
收藏
页码:1535 / +
页数:2
相关论文
共 50 条
  • [21] Java GUI testing
    Walworth, Alan
    Dr. Dobb's Journal, 1997, 22 (02):
  • [22] Mobile GUI testing
    Morgado, Ines Coimbra
    Paiva, Ana C. R.
    SOFTWARE QUALITY JOURNAL, 2018, 26 (04) : 1553 - 1570
  • [23] Advances in GUI testing
    Memon, AM
    ADVANCES IN COMPUTERS, VOL 58: HIGHLY DEPENDABLE SOFTWARE, 2003, 58 : 149 - 201
  • [24] Mobile GUI testing
    Inês Coimbra Morgado
    Ana C. R. Paiva
    Software Quality Journal, 2018, 26 : 1553 - 1570
  • [25] Computer vision technology for X-ray testing
    Mery, D.
    INSIGHT, 2014, 56 (03) : 147 - 154
  • [26] Computer Vision System for Monitoring in Dynamic Structural Testing
    Lunghi, Francesco
    Pavese, Alberto
    Peloso, Simone
    Lanese, Igor
    Silvestri, Davide
    ROLE OF SEISMIC TESTING FACILITIES IN PERFORMANCE-BASED EARTHQUAKE ENGINEERING, 2012, 22 : 159 - 176
  • [27] AG3: Automated Game GUI Text Glitch Detection Based on Computer Vision
    Liang, Xiaoyun
    Qi, Jiayi
    Gao, Yongqiang
    Peng, Chao
    Yang, Ping
    PROCEEDINGS OF THE 31ST ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2023, 2023, : 1879 - 1890
  • [28] Using Probabilistic Model Checking to Evaluate GUI Testing Techniques
    Bertolini, Cristiano
    Mota, Alexandre
    SEFM 2009: SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, 2009, : 115 - 124
  • [29] A case for GUI testing using symbolic execution poster abstract
    Ganov, Svetoslav
    Khurshid, Sarfraz
    Perry, Dewayne
    TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, : 135 - 135
  • [30] Random GUI Testing of Android Application Using Behavioral Model
    Muangsiri, Woramet
    Takada, Shingo
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2017, 27 (9-10) : 1603 - 1612