GUI-Based Software Testing: An Automated Approach Using GPT-4 and Selenium WebDriver

计算机科学 图形用户界面测试 过程(计算) 推论 软件性能测试 非回归检验 关键字驱动测试 Web测试 手动测试 集成测试 图形用户界面 Web应用程序 软件 软件测试 软件工程 数据挖掘 用户界面 程序设计语言 人工智能 软件系统 操作系统 Web服务 Web建模 软件建设 用户界面设计 网络智能
作者
Daniel Zimmermann,Anne Koziolek
出处
期刊: 卷期号:: 171-174 被引量:33
标识
DOI:10.1109/asew60602.2023.00028
摘要

This paper presents a novel method for GUI testing in web applications that largely automates the process by integrating the advanced language model GPT-4 with Selenium, a popular web application testing framework. Unlike traditional deep learning approaches, which require extensive training data, GPT-4 is pre-trained on a large corpus, giving it significant generalisation and inference capabilities. These capabilities allow testing without the need for recorded data from human testers, significantly reducing the time and effort required for the testing process. We also compare the efficiency of our integrated GPT-4 approach with monkey testing, a widely used technique for automated GUI testing where user input is randomly generated. To evaluate our approach, we implemented a web calculator with an integrated code coverage system. The results show that our integrated GPT-4 approach provides significantly better branch coverage compared to monkey testing. These results highlight the significant potential of integrating specific AI models such as GPT-4 and automated testing tools to improve the accuracy and efficiency of GUI testing in web applications.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
zzz完成签到,获得积分10
1秒前
1秒前
yeweijiang完成签到,获得积分10
2秒前
Elthrai完成签到 ,获得积分10
2秒前
CAOHOU的应助被热情千风采纳,获得10
3秒前
朴素浩宇关注了科研通微信公众号
3秒前
3秒前
眯眯眼的觅山完成签到,获得积分10
3秒前
Accept关注了科研通微信公众号
3秒前
wanci的应助被Li采纳,获得10
5秒前
祁絢完成签到,获得积分10
5秒前
yangguang完成签到,获得积分10
6秒前
6秒前
儒雅海白完成签到,获得积分20
7秒前
122222完成签到,获得积分10
7秒前
耍酷的冰夏完成签到,获得积分10
7秒前
可乐完成签到,获得积分10
8秒前
8秒前
OxO完成签到,获得积分0
9秒前
欣灵发布了新的文献求助10
9秒前
9秒前
CAOHOU的应助被ggg采纳,获得10
9秒前
10秒前
冷傲的山菡完成签到,获得积分10
12秒前
点点点发布了新的文献求助10
12秒前
12秒前
rzx发布了新的文献求助10
13秒前
儒雅海白发布了新的文献求助10
13秒前
14秒前
虚心含海发布了新的文献求助20
15秒前
洋芋发布了新的文献求助10
15秒前
鬼谷子发布了新的文献求助10
16秒前
16秒前
LHD发布了新的文献求助10
16秒前
17秒前
17秒前
顾矜的应助被简单明快采纳,获得10
17秒前
fly关注了科研通微信公众号
18秒前
18秒前
长情的冰淇淋完成签到 ,获得积分10
20秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Current status of early diagnosis of pancreatic cancer 600
Data Driven Casing Collar Feature Detection and Identification for Automated Depth Estimation for Wireline 500
Bonding in Metal(IV) Hexafluorides Examined Using Fluorine K-edge X-ray Absorption Spectroscopy 500
The Cambridge Handbook of Linguistic Interfaces 400
病理集団の構造 : 親分乾分集団研究 400
Tutorials in Operations Research: Operations Research and Artificial Intelligence: Better Together 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8257480
求助须知:如何正确求助?哪些是违规求助? 9632034
关于积分的说明 22172490
捐赠科研通 7880231
什么是DOI,文献DOI怎么找? 3459790
关于科研通互助平台的介绍 2578182
邀请新用户注册赠送积分活动 2511496