Reducing Web Test Cases Aging by Means of Robust XPath Locators
2
Fondazione Bruno Kessler Trento Italy
|
Publication type: Proceedings Article
Publication date: 2014-11-01
Abstract
In the context of web regression testing, the main aging factor for a test suite is related to the continuous evolution of the underlying web application that makes the test cases broken. This rapid decay forces the quality experts to evolve the test ware. One of the major costs of test case evolution is due to the manual effort necessary to repair broken web page element locators. Locators are lines of source code identifying the web elements the test cases interact with. Web test cases rely heavily on locators, for instance to identify and fill the input portions of a web page (e.g., The form fields), to execute some computations (e.g., By locating and clicking on buttons) and to verify the correctness of the output (by locating the web page elements showing the results). In this paper we present ROBULA (ROBUst Locator Algorithm), a novel algorithm able to partially prevent and thus reduce the aging of web test cases by automatically generating robust XPath-based locators that are likely to work also when new releases of the web application are created. Preliminary results show that XPath locators produced by ROBULA are substantially more robust than absolute and relative locators, generated by state of the practice tools such as Fire Path. Fragility of the test suites is reduced on average by 56% for absolute locators and 41% for relative locators.
Found
Found
Top-30
Journals
1
2
3
4
|
|
Journal of Systems and Software
4 publications, 10.81%
|
|
Advances in Computers
3 publications, 8.11%
|
|
Software Testing Verification and Reliability
2 publications, 5.41%
|
|
ACM Transactions on Software Engineering and Methodology
1 publication, 2.7%
|
|
IET Software
1 publication, 2.7%
|
|
Software Quality Journal
1 publication, 2.7%
|
|
Empirical Software Engineering
1 publication, 2.7%
|
|
Journal of Software Evolution and Process
1 publication, 2.7%
|
|
ACM Computing Surveys
1 publication, 2.7%
|
|
Journal of Computer Information Systems
1 publication, 2.7%
|
|
ACM SIGPLAN Notices
1 publication, 2.7%
|
|
Lecture Notes in Computer Science
1 publication, 2.7%
|
|
1
2
3
4
|
Publishers
2
4
6
8
10
12
|
|
Institute of Electrical and Electronics Engineers (IEEE)
12 publications, 32.43%
|
|
Association for Computing Machinery (ACM)
10 publications, 27.03%
|
|
Elsevier
7 publications, 18.92%
|
|
Springer Nature
3 publications, 8.11%
|
|
Wiley
3 publications, 8.11%
|
|
Institution of Engineering and Technology (IET)
1 publication, 2.7%
|
|
Taylor & Francis
1 publication, 2.7%
|
|
2
4
6
8
10
12
|
- We do not take into account publications without a DOI.
- Statistics recalculated only for publications connected to researchers, organizations and labs registered on the platform.
- Statistics recalculated weekly.
Are you a researcher?
Create a profile to get free access to personal recommendations for colleagues and new articles.