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 条
  • [1] A deep learning-based automated framework for functional User Interface testing
    Khaliq, Zubair
    Farooq, Sheikh Umar
    Khan, Dawood Ashraf
    INFORMATION AND SOFTWARE TECHNOLOGY, 2022, 150
  • [2] Testing Deep Learning-based Visual Perception for Automated Driving
    Abrecht, Stephanie
    Gauerhof, Lydia
    Gladisch, Christoph
    Groh, Konrad
    Heinzemann, Christian
    Woehrle, Matthias
    ACM TRANSACTIONS ON CYBER-PHYSICAL SYSTEMS, 2021, 5 (04)
  • [3] Automated Graphical User Interface Testing Framework-Evoguitest-Based on Evolutionary Algorithms
    Latiu, Gentiana Ioana
    Cret, Octavian Augustin
    Vacariu, Lucia
    COMPUTATIONAL INTELLIGENCE, IJCCI 2013, 2016, 613 : 39 - 63
  • [4] A Deep Learning-Based Automated Framework for Subpeak Designation on Intracranial Pressure Signals
    Lege, Donatien
    Gergele, Laurent
    Prud'homme, Marion
    Lapayre, Jean-Christophe
    Launey, Yoann
    Henriet, Julien
    SENSORS, 2023, 23 (18)
  • [5] A deep learning-based framework for an automated defect detection system for sewer pipes
    Yin, Xianfei
    Chen, Yuan
    Bouferguene, Ahmed
    Zaman, Hamid
    Al-Hussein, Mohamed
    Kurach, Luke
    AUTOMATION IN CONSTRUCTION, 2020, 109 (109)
  • [6] Deep Learning-Based Automated Vehicle Steering
    Reda, Ahmad
    Bouzid, Ahmed
    Vasarhelyi, Jozsef
    2021 22ND INTERNATIONAL CARPATHIAN CONTROL CONFERENCE (ICCC), 2021, : 249 - 253
  • [7] DRLGENCERT: Deep Learning-based Automated Testing of Certificate Verification in SSL/TLS Implementations
    Chen, Chao
    Diao, Wenrui
    Zeng, Yingpei
    Guo, Shanqing
    Hu, Chengyu
    PROCEEDINGS 2018 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2018, : 48 - 58
  • [8] Deep Learning-Based Mobile Application Isomorphic GUI Identification for Automated Robotic Testing
    Zhang, Tao
    Liu, Ying
    Gao, Jerry
    Gao, Li Peng
    Cheng, Jing
    IEEE SOFTWARE, 2020, 37 (04) : 67 - 74
  • [9] Deep learning-based user experience evaluation in distance learning
    Sadigov, Rahim
    Yildirim, Elif
    Kocacinar, Buesra
    Patlar Akbulut, Fatma
    Catal, Cagatay
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2024, 27 (01): : 443 - 455
  • [10] Deep learning-based user experience evaluation in distance learning
    Rahim Sadigov
    Elif Yıldırım
    Büşra Kocaçınar
    Fatma Patlar Akbulut
    Cagatay Catal
    Cluster Computing, 2024, 27 : 443 - 455