Comparing the maintainability of selenium WebDriver test suites employing different locators: a case study

Maurizio Leotta, Diego Clerissi, F. Ricca, C. Spadaro
{"title":"Comparing the maintainability of selenium WebDriver test suites employing different locators: a case study","authors":"Maurizio Leotta, Diego Clerissi, F. Ricca, C. Spadaro","doi":"10.1145/2489280.2489284","DOIUrl":null,"url":null,"abstract":"Test suite maintenance tends to have the biggest impact on the overall cost of test automation. Frequently modifications applied on a web application lead to have one or more test cases broken and repairing the test suite is a time-consuming and expensive task. \n This paper reports on an industrial case study conducted in a small Italian company investigating on the analysis of the effort to repair web test suites implemented using different UI locators (e.g., Identifiers and XPath). \n The results of our case study indicate that ID locators used in conjunction with LinkText is the best solution among the considered ones in terms of time required (and LOCs to modify) to repair the test suite to the new release of the application.","PeriodicalId":203209,"journal":{"name":"JAMAICA 2013","volume":"64 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"42","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"JAMAICA 2013","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2489280.2489284","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 42

Abstract

Test suite maintenance tends to have the biggest impact on the overall cost of test automation. Frequently modifications applied on a web application lead to have one or more test cases broken and repairing the test suite is a time-consuming and expensive task. This paper reports on an industrial case study conducted in a small Italian company investigating on the analysis of the effort to repair web test suites implemented using different UI locators (e.g., Identifiers and XPath). The results of our case study indicate that ID locators used in conjunction with LinkText is the best solution among the considered ones in terms of time required (and LOCs to modify) to repair the test suite to the new release of the application.
比较使用不同定位器的selenium WebDriver测试套件的可维护性:一个案例研究
测试套件维护倾向于对测试自动化的总体成本产生最大的影响。对web应用程序的频繁修改会导致一个或多个测试用例被破坏,并且修复测试套件是一项耗时且昂贵的任务。本文报告了一家意大利小公司进行的一个工业案例研究,该研究调查了修复使用不同UI定位器(例如,标识符和XPath)实现的web测试套件的工作分析。我们的案例研究的结果表明,结合使用ID定位器和LinkText是将测试套件修复到应用程序的新版本所需要的时间(和需要修改的loc)方面的最佳解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信