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 条
  • [1] Computer Vision Based Robotic Arm Controlled Using Interactive GUI
    Intisar, Muhatasim
    Khan, Mohammad Monirujjaman
    Islam, Mohammad Rezaul
    Masud, Mehedi
    INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2021, 27 (02): : 533 - 550
  • [2] Apply computer vision in GUI automation for industrial applications
    Cheng, Yung-Pin
    Li, Ching-Wei
    Chen, Yi-Cheng
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2019, 16 (06) : 7526 - 7545
  • [3] GUI based Control Scheme for Ball-on-Plate System using Computer Vision
    Kasula, Akanksh
    Thakur, Palash
    Menon, Mukund Kumar
    2018 IEEE WESTERN NEW YORK IMAGE AND SIGNAL PROCESSING WORKSHOP (WNYISPW), 2018,
  • [4] Automated game testing using computer vision methods
    Paduraru, Ciprian
    Paduraru, Miruna
    Stefanescu, Alin
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS (ASEW 2021), 2021, : 65 - 72
  • [5] A Methodology for GUI Layer Redefinition Through Virtualization and Computer Vision
    Silva, J. C.
    Silva, J. L.
    2014 14TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ITS APPLICATIONS (ICCSA), 2014, : 58 - 63
  • [6] Specifying colours for colour vision testing using computer graphics
    A Toufeeq
    Eye, 2004, 18 : 1001 - 1005
  • [7] Color vision testing using a computer simulation of the Nagel anomaloscope
    Lo, LJ
    Brodie, SE
    INVESTIGATIVE OPHTHALMOLOGY & VISUAL SCIENCE, 1999, 40 (04) : S713 - S713
  • [8] Specifying colours for colour vision testing using computer graphics
    Toufeeq, A
    EYE, 2004, 18 (10) : 1001 - 1005
  • [9] Adaptive Testing of Computer Vision Models
    Gao, Irena
    Ilharco, Gabriel
    Lundberg, Scott
    Ribeiro, Marco Tulio
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION, ICCV, 2023, : 3980 - 3991
  • [10] Using Mutation to Enhance GUI Testing Coverage
    Alsmadi, Izzat Mahmoud
    IEEE SOFTWARE, 2013, 30 (01) : 67 - 73