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 条
  • [11] Automatic Defect Recognition in X-ray Testing using Computer Vision
    Mery, Domingo
    Arteta, Carlos
    2017 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV 2017), 2017, : 1026 - 1035
  • [12] A framework for the automation of testing computer vision systems
    Wotawa, Franz
    Klampfl, Lorenz
    Jahaj, Ledio
    2021 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST (AST 2021), 2021, : 121 - 124
  • [13] Computer animated childrens pictures for vision testing
    Mueller, D.
    Kandzia, C.
    Roider, J.
    OPHTHALMOLOGE, 2009, 106 (04): : 328 - 333
  • [14] X-ray Testing by Computer Vision
    Mery, Domingo
    2013 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION WORKSHOPS (CVPRW), 2013, : 360 - 367
  • [15] Disintegration testing augmented by computer Vision technology
    Floryanzia, Sydney
    Ramesh, Preethi
    Mills, Madeline
    Kulkarni, Sanjana
    Chen, Grace
    Shah, Prashant
    Lavrich, David
    INTERNATIONAL JOURNAL OF PHARMACEUTICS, 2022, 619
  • [16] Using GUI Ripping for Automated Testing of Android Applications
    Amalfitano, Domenico
    Rita Fasolino, Anna
    Tramontana, Porfirio
    De Carmine, Salvatore
    Memon, Atif M.
    2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 258 - 261
  • [17] Testing and Validation of UART using Cloud based GUI
    Kiran, B. M.
    Madhusudhan, C.
    Farhan, Mohamed Meeran
    Manzoor, Mohammad Burhan
    Kariyappa, B. S.
    2017 2ND IEEE INTERNATIONAL CONFERENCE ON RECENT TRENDS IN ELECTRONICS, INFORMATION & COMMUNICATION TECHNOLOGY (RTEICT), 2017, : 782 - 786
  • [18] Creating GUI Testing Tools Using Accessibility Technologies
    Grechanik, Mark
    Xie, Qing
    Fu, Chen
    ICSTW 2009: IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION, AND VALIDATION WORKSHOPS, 2009, : 243 - 250
  • [19] Using ontology to generate test cases for GUI testing
    Li, Han
    Guo, He
    Chen, Feng
    Yang, Hongji
    Yang, Yuansheng
    INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2011, 42 (2-3) : 213 - 224
  • [20] Using Computer Vision to See
    Mocanu, Bogdan
    Tapu, Ruxandra
    Zaharia, Titus
    COMPUTER VISION - ECCV 2016 WORKSHOPS, PT II, 2016, 9914 : 375 - 390