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 条
  • [21] Reinforcement Learning-Based Framework for the Intelligent Adaptation of User Interfaces
    Gaspar-Figueiredo, Daniel
    Fernandez-Diego, Marta
    Nuredini, Ruben
    Abrahao, Silvia
    Insfran, Emilio
    COMPANION OF THE 2024 ACM SIGCHI SYMPOSIUM ON ENGINEERING INTERACTIVE COMPUTING SYSTEMS, EICS 2024, 2024, : 40 - 48
  • [22] A Deep Learning-Based Framework for Retinal Disease Classification
    Choudhary, Amit
    Ahlawat, Savita
    Urooj, Shabana
    Pathak, Nitish
    Lay-Ekuakille, Aime
    Sharma, Neelam
    HEALTHCARE, 2023, 11 (02)
  • [23] A Deep Reinforcement Learning-Based Framework for Content Caching
    Zhong, Chen
    Gursoy, M. Cenk
    Velipasalar, Senem
    2018 52ND ANNUAL CONFERENCE ON INFORMATION SCIENCES AND SYSTEMS (CISS), 2018,
  • [24] A deep learning-based framework for predicting pork preference
    Ko, Eunyoung
    Jeong, Kyungchang
    Oh, Hongseok
    Park, Yunhwan
    Choi, Jungseok
    Lee, Euijong
    CURRENT RESEARCH IN FOOD SCIENCE, 2023, 6
  • [25] Deep Learning-Based Cellular Random Access Framework
    Jang, Han Seung
    Lee, Hoon
    Quek, Tony Q. S.
    Shin, Hyundong
    IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, 2021, 20 (11) : 7503 - 7518
  • [26] A deep learning-based framework for road traffic prediction
    Benarmas, Redouane Benabdallah
    Bey, Kadda Beghdad
    JOURNAL OF SUPERCOMPUTING, 2024, 80 (05): : 6891 - 6916
  • [27] INDEEDopt: a deep learning-based ReaxFF parameterization framework
    Sengul, Mert Y.
    Song, Yao
    Nayir, Nadire
    Gao, Yawei
    Hung, Ying
    Dasgupta, Tirthankar
    van Duin, Adri C. T.
    NPJ COMPUTATIONAL MATERIALS, 2021, 7 (01)
  • [28] INDEEDopt: a deep learning-based ReaxFF parameterization framework
    Mert Y. Sengul
    Yao Song
    Nadire Nayir
    Yawei Gao
    Ying Hung
    Tirthankar Dasgupta
    Adri C. T. van Duin
    npj Computational Materials, 7
  • [29] A Deep Learning-Based Framework for Phishing Website Detection
    Tang, Lizhen
    Mahmoud, Qusay H.
    IEEE ACCESS, 2022, 10 : 1509 - 1521
  • [30] Deep Learning-Based Framework for Comprehensive Mask Optimization
    Yu, Bo-Yi
    Zhong, Yong
    Fang, Shao-Yun
    Kuo, Hung-Fei
    24TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC 2019), 2019, : 311 - 316