• DocumentCode
    728883
  • Title

    Meta-heuristic Generation of Robust XPath Locators for Web Testing

  • Author

    Leotta, Maurizio ; Stocco, Andrea ; Ricca, Filippo ; Tonella, Paolo

  • Author_Institution
    Dipt. di Inf., Univ. di Genova, Genoa, Italy
  • fYear
    2015
  • fDate
    18-19 May 2015
  • Firstpage
    36
  • Lastpage
    39
  • 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.
  • Keywords
    Web design; computational complexity; genetic algorithms; graph theory; greedy algorithms; DOM locators; Web page data; Web testing; active Web page elements; exponential time complexity; graph exploration problem; metaheuristic generation; optimal greedy algorithm; robust XPath locators; space complexity; test scripts; Biological cells; Genetic algorithms; Greedy algorithms; HTML; Robustness; Web pages; Xenon; DOM-based Locators; Fragile Test; Web Element Locators; Web Testing; XPath Locators Robustness;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Search-Based Software Testing (SBST), 2015 IEEE/ACM 8th International Workshop on
  • Conference_Location
    Florence
  • Type

    conf

  • DOI
    10.1109/SBST.2015.16
  • Filename
    7173589