Visual vs. DOM-Based Web Locators: An Empirical Study

被引:0
|
作者
Leotta, Maurizio [1 ]
Clerissi, Diego [1 ]
Ricca, Filippo [1 ]
Tonella, Paolo [2 ]
机构
[1] Univ Genoa, DIBRIS, I-16126 Genoa, Italy
[2] Fondazione Bruno Kessler, Trento, Italy
来源
WEB ENGINEERING, ICWE 2014 | 2014年 / 8541卷
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Automation in Web testing has been successfully supported by DOM-based tools that allow testers to program the interactions of their test cases with the Web application under test. More recently a new generation of visual tools has been proposed where a test case interacts with the Web application by recognising the images of the widgets that can be actioned upon and by asserting the expected visual appearance of the result. In this paper, we first discuss the inherent robustness of the locators created by following the visual and DOM-based approaches and we then compare empirically a visual and a DOM-based tool, taking into account both the cost for initial test suite development from scratch and the cost for test suite maintenance during code evolution. Since visual tools are known to be computationally demanding, we also measure the test suite execution time. Results indicate that DOM-based locators are generally more robust than visual ones and that DOM-based test cases can be developed from scratch and evolved at lower cost. Moreover, DOM-based test cases require a lower execution time. However, depending on the specific features of the Web application under test and its expected evolution, in some cases visual locators might be the best choice (e.g., when the visual appearance is more stable than the structure).
引用
收藏
页码:322 / 340
页数:19
相关论文
共 50 条
  • [41] Onboarding vs. Diversity, Productivity, and Quality - Empirical Study of the OpenStack Ecosystem
    Foundjem, Armstrong
    Eghan, Ellis
    Adams, Bram
    [J]. 2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021), 2021, : 1033 - 1045
  • [42] Web-based chat vs. instant messaging - Who wins
    Houghton, S
    Schmidt, A
    [J]. ONLINE, 2005, 29 (04): : 26 - 30
  • [43] Conventions in localisation: a corpus study of original vs. translated web texts
    Jimenez-Crespo, Miguel A.
    [J]. JOURNAL OF SPECIALISED TRANSLATION, 2009, (12): : 79 - 102
  • [44] Curriculum Hannover - Web-based vs. Analogue Psychotherapeutic aftercare after Psychosomatic Rehabilitation and vs. Care as Usual
    Dahmen, Alina
    Gao, Lingling
    Keller, Franziska M.
    Lehr, Dirk
    Becker, Petra
    Lippke, Sonia
    [J]. REHABILITATION, 2022, 61 (04) : 287 - 296
  • [45] Comparison of Web-based vs. Non-web-based Approach in Measuring the Degree of Depression in Korea
    Bae, Jeongyee
    Panuncio, Rosel L.
    [J]. INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2009, 9 (06): : 182 - 186
  • [46] Evaluation of VisionRx computer based perimetry vs. Humphrey visual field
    Madsen, B
    Sponsel, WE
    McKinnon, S
    [J]. INVESTIGATIVE OPHTHALMOLOGY & VISUAL SCIENCE, 2002, 43 : U495 - U495
  • [47] A Comparative Study of Eye-In-Hand Image-Based Visual Servoing: Stereo vs. Mono
    Mohebbi, Abolfazl
    Keshmiri, Mohammad
    Xie, Wenfang
    [J]. JOURNAL OF INTEGRATED DESIGN & PROCESS SCIENCE, 2015, 19 (03) : 25 - 54
  • [48] Capture-Replay vs. Programmable Web Testing: An Empirical Assessment during Test Case Evolution
    Leotta, Maurizio
    Clerissi, Diego
    Ricca, Filippo
    Tonella, Paolo
    [J]. 2013 20TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE), 2013, : 272 - 281
  • [49] The influence of information overload on the development of trust and purchase intention based on online product reviews in a mobile vs. web environment: an empirical investigation
    Furner, Christopher P.
    Zinko, Robert A.
    [J]. ELECTRONIC MARKETS, 2017, 27 (03) : 211 - 224
  • [50] The influence of information overload on the development of trust and purchase intention based on online product reviews in a mobile vs. web environment: an empirical investigation
    Christopher P. Furner
    Robert A. Zinko
    [J]. Electronic Markets, 2017, 27 : 211 - 224