Using deep learning for selenium web UI functional tests: A case-study with e-commerce applications

计算机科学 可执行文件 测试用例 测试脚本 自动化 关键字驱动测试 测试线束 脚本语言 手动测试 软件 人工智能 程序设计语言 数据挖掘 软件工程 机器学习 软件开发 软件建设 工程类 回归分析 机械工程
作者
Zubair Khaliq,Dawood Ashraf Khan,Sheikh Umar Farooq
出处
期刊:Engineering Applications of Artificial Intelligence [Elsevier BV]
卷期号:117: 105446-105446 被引量:3
标识
DOI:10.1016/j.engappai.2022.105446
摘要

The application of test cases for detecting the faults within the software is called software testing. Manual testing is laborious and time-consuming hence automation tools to test software were introduced. Despite the use of automation tools at the User Interface (UI) level of the test pyramid, the limitations of current automation tools like automated test case generation and automated repairing of fragile tests still force us to carry out a large amount of manual testing. In this paper, we propose a novel method using AI to address the given challenges. With our proposed method test cases are automatically generated from the structure of the UI using a pipelined architecture of object detection, text detection and NLP models. We show that the test cases generated by the proposed framework can be translated into executable test scripts using a simple parser. The proposed method generates an average of 98.8% correct executable test cases for the applications under study. We also show the capability of the proposed method in generating new tests automatically when the application is modified. The proposed method generates an average of 98.605% correct executable test cases when the UI is modified for the applications under study. We also empirically prove that a GPU implementation of the proposed framework results in just an additional average runtime of 0.92 seconds per test case which is significantly low given the benefits of automated generation of test scripts and automated repairing of fragile tests.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
SciGPT应助BUCI采纳,获得10
刚刚
3秒前
华仔应助畅快成风采纳,获得10
4秒前
4秒前
不开心就吃糖完成签到 ,获得积分10
4秒前
jiayoujijin发布了新的文献求助10
6秒前
8秒前
科研通AI2S应助调皮的沛萍采纳,获得10
9秒前
feiying88发布了新的文献求助10
10秒前
易槐发布了新的文献求助10
12秒前
15秒前
有梦不觉人生寒完成签到,获得积分10
16秒前
年轻的馒头完成签到,获得积分10
17秒前
18秒前
21秒前
哈哈完成签到,获得积分10
21秒前
俊逸飞雪完成签到,获得积分10
21秒前
虚幻又莲发布了新的文献求助10
21秒前
21秒前
cdercder应助Yinkris采纳,获得10
23秒前
snow完成签到,获得积分10
25秒前
逆蝶发布了新的文献求助30
27秒前
顽主完成签到,获得积分10
27秒前
tt完成签到 ,获得积分10
27秒前
科研通AI5应助lxr2采纳,获得10
27秒前
阿枫完成签到 ,获得积分10
28秒前
调皮的沛萍完成签到,获得积分10
29秒前
星辰大海应助qiulong采纳,获得10
30秒前
30秒前
31秒前
可爱的函函应助zy采纳,获得10
31秒前
郭宇关注了科研通微信公众号
32秒前
科研通AI2S应助CYY采纳,获得10
32秒前
无限的寄真完成签到 ,获得积分10
32秒前
咖啡先生发布了新的文献求助10
34秒前
ShiRz发布了新的文献求助10
36秒前
领导范儿应助乙醇采纳,获得10
37秒前
辉子完成签到,获得积分10
39秒前
七曜发布了新的文献求助10
41秒前
吃花生酱的猫完成签到,获得积分10
41秒前
高分求助中
【此为提示信息,请勿应助】请按要求发布求助,避免被关 20000
ISCN 2024 – An International System for Human Cytogenomic Nomenclature (2024) 3000
Continuum Thermodynamics and Material Modelling 2000
Encyclopedia of Geology (2nd Edition) 2000
105th Edition CRC Handbook of Chemistry and Physics 1600
Maneuvering of a Damaged Navy Combatant 650
Mindfulness and Character Strengths: A Practitioner's Guide to MBSP 380
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3776783
求助须知:如何正确求助?哪些是违规求助? 3322227
关于积分的说明 10209307
捐赠科研通 3037454
什么是DOI,文献DOI怎么找? 1666696
邀请新用户注册赠送积分活动 797627
科研通“疑难数据库(出版商)”最低求助积分说明 757976