A Novel Framework for Creating User Interface Level Tests Resistant to Refactoring of Web Applications

Heidar Pirzadeh, Sara Shanian, Farzin Davari
{"title":"A Novel Framework for Creating User Interface Level Tests Resistant to Refactoring of Web Applications","authors":"Heidar Pirzadeh, Sara Shanian, Farzin Davari","doi":"10.1109/QUATIC.2014.43","DOIUrl":null,"url":null,"abstract":"Developing user interfaces is an important part of software development process for web-applications. Frequent and small changes are inevitable in the process of developing and refactoring a user interface (UI) to improve user experience while preserving the functionality. Those changes however have been shown to easily break a majority of automated UI-level tests. Maintaining and fixing those test cases then increases the overall cost of development and decreases the benefit of test automation. In this paper, we propose a new test framework for identifying and locating the elements of the UI in a way that cannot be impacted by small UI changes. Our approach is inspired by the way human interact with the UIs of web applications and how such interactions are described and communicated in natural language to others. Our framework could significantly reduce the cost of test maintenance by enabling software engineers create UI-level tests that are naturally resistant to UI changes.","PeriodicalId":317037,"journal":{"name":"2014 9th International Conference on the Quality of Information and Communications Technology","volume":"197 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2014 9th International Conference on the Quality of Information and Communications Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/QUATIC.2014.43","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Developing user interfaces is an important part of software development process for web-applications. Frequent and small changes are inevitable in the process of developing and refactoring a user interface (UI) to improve user experience while preserving the functionality. Those changes however have been shown to easily break a majority of automated UI-level tests. Maintaining and fixing those test cases then increases the overall cost of development and decreases the benefit of test automation. In this paper, we propose a new test framework for identifying and locating the elements of the UI in a way that cannot be impacted by small UI changes. Our approach is inspired by the way human interact with the UIs of web applications and how such interactions are described and communicated in natural language to others. Our framework could significantly reduce the cost of test maintenance by enabling software engineers create UI-level tests that are naturally resistant to UI changes.
一个新的框架,用于创建用户界面级测试抵抗重构的Web应用程序
开发用户界面是web应用程序软件开发过程中的重要组成部分。在开发和重构用户界面(UI)的过程中,为了在保留功能的同时改善用户体验,频繁而小的更改是不可避免的。然而,事实证明,这些变化很容易破坏大多数自动化ui级测试。维护和修复这些测试用例会增加开发的总体成本,并降低测试自动化的好处。在本文中,我们提出了一个新的测试框架,用于识别和定位UI的元素,而这种方式不会受到微小UI更改的影响。我们的方法的灵感来自于人类与web应用程序ui交互的方式,以及如何用自然语言描述和传达这种交互。我们的框架可以使软件工程师创建自然地抵抗UI更改的UI级测试,从而显著降低测试维护的成本。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信