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 条
  • [31] Using a Pilot Study to Derive a GUI Model for Automated Testing
    Xie, Qing
    Memon, Atif M.
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2008, 18 (02)
  • [32] AQUADA GUI: A graphical user interface for automated quantification of damages in composite structures under fatigue loading using computer vision and thermography
    Spencer, Max
    Sheiati, Shohreh
    Chen, Xiao
    SOFTWAREX, 2023, 22
  • [33] OYSTER ORIENTATION USING COMPUTER VISION
    TOJEIRO, P
    WHEATON, F
    TRANSACTIONS OF THE ASAE, 1991, 34 (02): : 689 - 693
  • [34] Virtual worlds using computer vision
    Narayanan, PJ
    Kanade, T
    COMPUTER VISION FOR VIRTUAL REALITY BASED HUMAN COMMUNICATIONS - 1998 IEEE AND ATR WORKSHOP PROCEEDINGS, 1998, : 2 - 13
  • [35] Flood Monitoring using Computer Vision
    Nair, Bhavana B.
    Rao, Sethuraman N.
    MOBISYS'17: PROCEEDINGS OF THE 15TH ANNUAL INTERNATIONAL CONFERENCE ON MOBILE SYSTEMS, APPLICATIONS, AND SERVICES, 2017, : 165 - 165
  • [36] TEXTURE ANALYSIS USING COMPUTER VISION
    DAMODARASAMY, S
    RAMAN, S
    COMPUTERS IN INDUSTRY, 1991, 16 (01) : 25 - 34
  • [37] Fatigue Detection Using Computer Vision
    Patel, Mitesh
    Lal, Sara
    Kavanagh, Diarmuid
    Rossiter, Peter
    INTERNATIONAL JOURNAL OF ELECTRONICS AND TELECOMMUNICATIONS, 2010, 56 (04) : 457 - 461
  • [38] ROBOT GUIDANCE USING COMPUTER VISION
    COURTNEY, JW
    MAGEE, MJ
    AGGARWAL, JK
    PATTERN RECOGNITION, 1984, 17 (06) : 585 - 592
  • [39] Counting bicycles using computer vision
    Rogers, S
    Papanikolopoulos, NP
    2000 IEEE INTELLIGENT TRANSPORTATION SYSTEMS PROCEEDINGS, 2000, : 33 - 38
  • [40] Oyster orientation using computer vision
    Tojeiro, P.
    Wheaton, F.
    Transactions of the American Society of Agricultural Engineers, 1991, 34 (02): : 689 - 693