Nothing Special   »   [go: up one dir, main page]

skip to main content
10.5555/2821339.2821351acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

Meta-heuristic generation of robust XPath locators for web testing

Published: 16 May 2015 Publication History

Abstract

Test scripts used for web testing rely on DOM locators, often expressed as XPaths, to identify the active web page elements and the web page data to be used in assertions. When the web application evolves, the major cost incurred for the evolution of the test scripts is due to broken locators, which fail to locate the target element in the new version of the software. We formulate the problem of automatically generating robust XPath locators as a graph exploration problem, for which we provide an optimal, greedy algorithm. Since such an algorithm has exponential time and space complexity, we present also a genetic algorithm.

References

[1]
M. Leotta, D. Clerissi, F. Ricca, and P. Tonella. Visual vs. DOM-based web locators: An empirical study. In Proceedings of 14th International Conference on Web Engineering (ICWE 2014), volume 8541 of LNCS, pages 322--340. Springer, 2014.
[2]
M. Leotta, A. Stocco, F. Ricca, and P. Tonella. Reducing web test cases aging by means of robust XPath locators. In Proceedings of 25th International Symposium on Software Reliability Engineering Workshops, ISSREW 2014, pages 449--454. IEEE, 2014.
[3]
M. Leotta, A. Stocco, F. Ricca, and P. Tonella. Using multi-locators to increase the robustness of web test cases. In Proceedings of 8th International Conference on Software Testing, Verification and Validation, ICST 2015. IEEE, 2015.

Cited By

View all
  • (2020)WebRR: self-replay enhanced robust record/replay for web application testingProceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering10.1145/3368089.3417069(1498-1508)Online publication date: 8-Nov-2020
  • (2017)The evolutionary landscape of SBSTProceedings of the 10th International Workshop on Search-Based Software Testing10.5555/3105427.3105437(47-48)Online publication date: 20-May-2017
  • (2016)Robula+Journal of Software: Evolution and Process10.1002/smr.177128:3(177-204)Online publication date: 1-Mar-2016

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SBST '15: Proceedings of the Eighth International Workshop on Search-Based Software Testing
May 2015
68 pages

Sponsors

Publisher

IEEE Press

Publication History

Published: 16 May 2015

Check for updates

Author Tags

  1. DOM-based locators
  2. XPath locators robustness
  3. fragile test
  4. web element locators
  5. web testing

Qualifiers

  • Research-article

Conference

ICSE '15
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 19 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2020)WebRR: self-replay enhanced robust record/replay for web application testingProceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering10.1145/3368089.3417069(1498-1508)Online publication date: 8-Nov-2020
  • (2017)The evolutionary landscape of SBSTProceedings of the 10th International Workshop on Search-Based Software Testing10.5555/3105427.3105437(47-48)Online publication date: 20-May-2017
  • (2016)Robula+Journal of Software: Evolution and Process10.1002/smr.177128:3(177-204)Online publication date: 1-Mar-2016

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media