We propose a new type of locator, named multi-locator, which selects the best locator among a candidate set of locators produced by different algorithms.
Abstract—The main reason for the fragility of web test cases is the inability of web element locators to work correctly when the web page DOM evolves.
The approach evaluates multiple locators and uses a voting procedure between the single-locators to improve the accuracy of locating the correct web element in ...
The main reason for the fragility of web test cases is the inability of web element locators to work correctly when the web page DOM evolves.
Abstract—The main reason for the fragility of web test cases is the inability of web element locators to work correctly when the web page DOM evolves.
Using Multi-Locators to Increase the Robustness of Web Test Cases. Leotta, M., Stocco, A., Ricca, F., & Tonella, P. In Proceedings of 8th IEEE International ...
The main reason for the fragility of web test cases is the inability of web element locators to work correctly when the web page DOM evolves.
What are locators in testing?
What are the web element locators in selenium?
Locator Fragility may break GUI-based Test Cases in regression testing processes. •. Robustness of locators is improved by artificial hooks in the source code.
One problem with this ap- proach is that it has a theoretical limit: the multi- locator algorithm cannot select the correct element if all locators are broken.
Research has shown that the multi-locator approach can effectively increase the probability of finding the correct web element since it is unlikely that all ...