“What You See Is What You Test”: Recommending Features from GUIs for Requirements-Based Testing

Zedong Peng, J. Savolainen, Jianzhang Zhang, Nan Niu
{"title":"“What You See Is What You Test”: Recommending Features from GUIs for Requirements-Based Testing","authors":"Zedong Peng, J. Savolainen, Jianzhang Zhang, Nan Niu","doi":"10.1109/IRI58017.2023.00057","DOIUrl":null,"url":null,"abstract":"Requirements-based testing (RBT) advocates the design of test cases in order to adequately exercise the behavior of a software system without regard to the internal details of the implementation. To address the challenge that requirements descriptions may be inaccurate in practice, we align requirements engineering and software testing in a novel way by not counting on a complete and up-to-date requirements documentation. Rather, we maintain the black-box nature of RBT to recommend features as the units of testing from software’s graphical user interfaces (GUIs). In particular, we exploit optical character recognition (OCR) to identify the textual information from GUIs, and further build the GUI-feature correspondences based on software’s user-centric documentation which may exhibit partial correctness. Such correspondences from multiple software systems in the same domain serve as a foundation for our recommendation engine, which suggests the to-be-tested features related to a given GUI. We demonstrate our recommender’s feasibility with a study of five products in the web conferencing domain, and the results show the more complete set of features against which a GUI needs to be tested.","PeriodicalId":290818,"journal":{"name":"2023 IEEE 24th International Conference on Information Reuse and Integration for Data Science (IRI)","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 IEEE 24th International Conference on Information Reuse and Integration for Data Science (IRI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IRI58017.2023.00057","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Requirements-based testing (RBT) advocates the design of test cases in order to adequately exercise the behavior of a software system without regard to the internal details of the implementation. To address the challenge that requirements descriptions may be inaccurate in practice, we align requirements engineering and software testing in a novel way by not counting on a complete and up-to-date requirements documentation. Rather, we maintain the black-box nature of RBT to recommend features as the units of testing from software’s graphical user interfaces (GUIs). In particular, we exploit optical character recognition (OCR) to identify the textual information from GUIs, and further build the GUI-feature correspondences based on software’s user-centric documentation which may exhibit partial correctness. Such correspondences from multiple software systems in the same domain serve as a foundation for our recommendation engine, which suggests the to-be-tested features related to a given GUI. We demonstrate our recommender’s feasibility with a study of five products in the web conferencing domain, and the results show the more complete set of features against which a GUI needs to be tested.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
“所见即所测”:为基于需求的测试推荐gui特性
基于需求的测试(RBT)提倡设计测试用例,以便在不考虑实现的内部细节的情况下充分地执行软件系统的行为。为了解决需求描述在实践中可能不准确的挑战,我们以一种新颖的方式将需求工程和软件测试结合起来,不依赖于完整的和最新的需求文档。相反,我们维护RBT的黑盒特性,以推荐功能作为软件图形用户界面(gui)的测试单元。特别是,我们利用光学字符识别(OCR)来识别gui中的文本信息,并进一步构建基于软件以用户为中心的文档的gui特征对应关系,这些文档可能显示部分正确性。来自同一领域的多个软件系统的这种通信是我们推荐引擎的基础,它建议与给定GUI相关的待测试功能。我们通过对web会议领域的五个产品的研究来证明我们的推荐的可行性,结果显示了GUI需要测试的更完整的特性集。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Research Paper Classification and Recommendation System based-on Fine-Tuning BERT Using BERT to Understand TikTok Users’ ADHD Discussion Enhancing Noisy Binary Search Efficiency through Deep Reinforcement Learning Copyright An Approach to Testing Banking Software Using Metamorphic Relations
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1