System disruptions
We are currently experiencing disruptions on the search portals due to high traffic. We are working to resolve the issue, you may temporarily encounter an error message.
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Ranking approaches for similarity-based web element location
Politecnico di Torino, Italy.
Chalmers University of Technology.
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering.ORCID iD: 0000-0002-8569-2290
Blekinge Institute of Technology, Faculty of Computing, Department of Software Engineering.ORCID iD: 0000-0001-7526-3727
2025 (English)In: Journal of Systems and Software, ISSN 0164-1212, E-ISSN 1873-1228, Vol. 222, article id 112286Article in journal (Refereed) Published
Abstract [en]

Context: GUI-based tests for web applications are frequently broken by fragility, i.e. regression tests fail due to changing properties of the web elements. The most influential factor for fragility are the locators used in the scripts, i.e. the means of identifying the elements of the GUI.

Objective: We extend a state-of-the-art Multi-Locator solution that considers 14 locators from the DOM model of a web application, and identifies overlapping nodes in the DOM tree (VON-Similo). We augment the approach with standard Machine Learning and Learning to Rank (LTR) approaches to aid the location of web elements.

Method: We document an experiment with a ground truth of 1163 web element pairs, taken from different releases of 40 web applications, to compare the robustness of the algorithms to locator weight change, and the performance of LTR approaches in terms of MeanRank and PctAtN.

Results: Using LTR algorithms, we obtain a maximum probability of finding the correct target at the first position of 88.4% (lowest 82.57%), and among the first three positions of 94.79% (lowest 91.86%). The best mean rank of the correct candidate is 1.57.

Conclusion: The similarity-based approach proved to be highly dependable in the context of web application testing, where a low percentage of matching errors can still be accepted.

Place, publisher, year, edition, pages
Elsevier, 2025. Vol. 222, article id 112286
Keywords [en]
GUI testing, Test automation, Test case robustness, Web element locators, XPath locators, Learning to rank, Mean-ranks, Ranking approach, Test case, WEB application, Web applications, Web element locator, Xpath locator, Contrastive Learning
National Category
Software Engineering
Identifiers
URN: urn:nbn:se:bth-27257DOI: 10.1016/j.jss.2024.112286ISI: 001375573600001Scopus ID: 2-s2.0-85211062465OAI: oai:DiVA.org:bth-27257DiVA, id: diva2:1921857
Part of project
SERT- Software Engineering ReThought, Knowledge Foundation
Funder
Knowledge Foundation, 20180010Available from: 2024-12-17 Created: 2024-12-17 Last updated: 2024-12-27Bibliographically approved

Open Access in DiVA

fulltext(2521 kB)41 downloads
File information
File name FULLTEXT01.pdfFile size 2521 kBChecksum SHA-512
68a937a3a822c1e7c9d97a87b21eeb67a926232429860a8d72bbac285569eab69d342ce4a457ea8262ed3260b4637210d9005bc098c23a0921ee33d50aee6908
Type fulltextMimetype application/pdf

Other links

Publisher's full textScopus

Authority records

Nass, MichelAlégroth, Emil

Search in DiVA

By author/editor
Nass, MichelAlégroth, Emil
By organisation
Department of Software Engineering
In the same journal
Journal of Systems and Software
Software Engineering

Search outside of DiVA

GoogleGoogle Scholar
Total: 41 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 180 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf