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 条
  • [41] Automated Deep Learning-Based Classification of Wilms Tumor Histopathology
    van der Kamp, Ananda
    de Bel, Thomas
    van Alst, Ludo
    Rutgers, Jikke
    van den Heuvel-Eibrink, Marry M.
    Mavinkurve-Groothuis, Annelies M. C.
    van der Laak, Jeroen
    de Krijger, Ronald R.
    CANCERS, 2023, 15 (09)
  • [42] Deep learning-based, fully automated, pediatric brain segmentation
    Kim, Min-Jee
    Hong, Eunpyeong
    Yum, Mi-Sun
    Lee, Yun-Jeong
    Kim, Jinyoung
    Ko, Tae-Sung
    SCIENTIFIC REPORTS, 2024, 14 (01)
  • [43] Fully Automated Deep Learning-based Sex Recognition in Pigs
    Boeken, Bjoern
    Dennemann, Ralf
    Keselj, Andreas
    FLEISCHWIRTSCHAFT, 2021, 101 (08): : 90 - 97
  • [44] Automated deep learning-based wide-band receiver
    Azari, Bahar
    Cheng, Hai
    Soltani, Nasim
    Li, Haoqing
    Li, Yanyu
    Belgiovine, Mauro
    Imbiriba, Tales
    D'Oro, Salvatore
    Melodia, Tommaso
    Wang, Yanzhi
    Closas, Pau
    Chowdhury, Kaushik
    Erdogmus, Deniz
    COMPUTER NETWORKS, 2022, 218
  • [45] Deep learning-based approach for automated assessment of PTEN status
    Jamaspishvili, Tamara
    Harmon, Stephanie
    Patel, Palak
    Sanford, Thomas
    Caven, Isabelle
    Iseman, Rachael
    Mehralivand, Sherif
    Choyke, Peter L.
    Berman, David Monty
    Turkbey, Baris
    JOURNAL OF CLINICAL ONCOLOGY, 2020, 38 (06)
  • [46] Automated Performance Testing Based on Active Deep Learning
    Sedaghatbaf, Ali
    Moghadam, Mahshid Helali
    Saadatmand, Mehrdad
    2021 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST (AST 2021), 2021, : 11 - 19
  • [47] Deep Learning-Based Automated Lip-Reading: A Survey
    Fenghour, Souheil
    Chen, Daqing
    Guo, Kun
    Li, Bo
    Xiao, Perry
    IEEE ACCESS, 2021, 9 (09): : 121184 - 121205
  • [48] Deep Learning-Based Automated Intracranial Hemorrhage Detection and Notification
    Zahneisen, Benjamin
    Straka, Matus
    Bammer, Shalini
    Albers, Greg
    Bammer, Roland
    STROKE, 2020, 51
  • [49] Pulmonary contusion: automated deep learning-based quantitative visualization
    Nathan Sarkar
    Lei Zhang
    Peter Campbell
    Yuanyuan Liang
    Guang Li
    Mustafa Khedr
    Udit Khetan
    David Dreizin
    Emergency Radiology, 2023, 30 : 435 - 441
  • [50] Deep Reinforcement Learning-Based Automated Network Selection in CRNs
    Xie, Jiang
    Zhang, Jing
    He, Xiangcheng
    Chen, Shaolei
    Zhang, Tai
    Zhao, Jing
    INTERNATIONAL JOURNAL OF SWARM INTELLIGENCE RESEARCH, 2024, 15 (01)