A deep learning-based automated framework for functional User Interface testing

被引:0
|
作者
Khaliq, Zubair [1 ]
Farooq, Sheikh Umar [1 ]
Khan, Dawood Ashraf [1 ]
机构
[1] Univ Kashmir, Srinagar, India
关键词
Software testing; UI functional testing; Transformers; Deep learning; Automated testing;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Context: The use of automation tools in software testing helps keep pace with the timeline of the deliverables. Over time with the inclusion of continuous integration/continuous delivery (CI/CD) pipelines, automation tools are becoming less effective. The testing community is turning to AI to help keep the pace.Objective: We study the use of transformers to automate the process of test case generation directly from the User Interface (UI) element description instead of relying on the test specification document from which test cases are extracted manually. We also demonstrate the capability of the proposed approach in repairing flaky tests. Method: We employ object detection algorithms EfficientDet and DEtectionTRansformer for detecting the elements from an application UI automatically without requiring a tester to locate complex-scripted UI elements. We also use Tesseract to automatically identify the text present on the UI elements. We transform the generated UI element description to actual test designer-written test cases using text-generation transformers like GPT-2 and T5. The generated test cases are then translated into executable test scripts using a simple parser. We carry out our cases study on 30 e-commerce applications.Results: The percentage of correct executable test cases generated by the framework employing EfficientDet is 93.82% and employing DEtectionTRansformer is 98.08%. The framework eliminates an average of 96.05% flakiness across the applications selected for the study.Conclusion: It is concluded that the proposed approach can be used with current automation tools in the industry to enhance their capability in generating test cases and repairing the flaky tests.
引用
收藏
页数:13
相关论文
共 50 条
  • [31] A deep learning-based framework for road traffic prediction
    Redouane Benabdallah Benarmas
    Kadda Beghdad Bey
    The Journal of Supercomputing, 2024, 80 : 6891 - 6916
  • [32] A method for Automated User Interface Testing of Windows-based Applications
    Duong Tran Dinh
    Pham Ngoc Hung
    Tung Nguyen Duy
    PROCEEDINGS OF THE NINTH INTERNATIONAL SYMPOSIUM ON INFORMATION AND COMMUNICATION TECHNOLOGY (SOICT 2018), 2018, : 337 - 343
  • [33] Revisiting the Evaluation of Deep Learning-Based Compiler Testing
    Tian, Yongqiang
    Xu, Zhenyang
    Dong, Yiwen
    Sun, Chengnian
    Cheung, Shing-Chi
    PROCEEDINGS OF THE THIRTY-SECOND INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, IJCAI 2023, 2023, : 4873 - 4882
  • [34] Deep Learning-based Dynamic User Alignment in Social Networks
    Matrouk, Khaled
    Srikanth, V
    Kumar, Sumit
    Bhadla, Mohit Kumar
    Sabirov, Mirza
    Saadh, Mohamed J.
    ACM JOURNAL OF DATA AND INFORMATION QUALITY, 2023, 15 (03):
  • [35] On Deep Learning-based Massive MIMO Indoor User Localization
    Arnold, Maximilian
    Doerner, Sebastian
    Cammerer, Sebastian
    ten Brink, Stephan
    2018 IEEE 19TH INTERNATIONAL WORKSHOP ON SIGNAL PROCESSING ADVANCES IN WIRELESS COMMUNICATIONS (SPAWC), 2018, : 256 - 260
  • [36] An Automated Framework Based on Deep Learning for Shark Recognition
    Nhat Anh Le
    Moon, Jucheol
    Lowe, Christopher G.
    Kim, Hyun-Il
    Choi, Sang-Il
    JOURNAL OF MARINE SCIENCE AND ENGINEERING, 2022, 10 (07)
  • [37] Pulmonary contusion: automated deep learning-based quantitative visualization
    Sarkar, Nathan
    Zhang, Lei
    Campbell, Peter
    Liang, Yuanyuan
    Li, Guang
    Khedr, Mustafa
    Khetan, Udit
    Dreizin, David
    EMERGENCY RADIOLOGY, 2023, 30 (04) : 435 - 441
  • [38] A review on deep learning-based automated lunar crater detection
    Chaini, Chinmayee
    Jha, Vijay Kumar
    EARTH SCIENCE INFORMATICS, 2024, 17 (05) : 3863 - 3898
  • [39] Deep Learning-Based Automated Modulation Classification for Cognitive Radio
    Mendis, Gihan J.
    Wei, Jin
    Madanayake, Arjuna
    2016 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATION SYSTEMS (ICCS), 2016,
  • [40] Deep Transfer Learning-Based Automated Identification of Bird Song
    Das, Nabanita
    Padhy, Neelamadhab
    Dey, Nilanjan
    Bhattacharya, Sudipta
    Tavares, Joao Manuel R. S.
    INTERNATIONAL JOURNAL OF INTERACTIVE MULTIMEDIA AND ARTIFICIAL INTELLIGENCE, 2023, 8 (04): : 33 - 45