In web application development, GUI testing is performed to verify that the screen elements such as buttons and links that appear on the screen are working correctly. In this testing, GUI testing automation tools which automatically operate the browser according to test scripts are widely used. GUI testing automation tools use locators to identify screen elements for testing, but if the software under test is modified or changed, existing locators may not be able to identify screen elements to operate. In such cases, locators in test scripts must be repaired so as to refer screen elements correctly. However, the repair work is not simple and is expensive. In this paper, we propose a method to repair locators based on three similarity indices based on Screen Element Sentences by distributed representation, numerical characters appeared in the Screen Element Sentences and XPath. We evaluate the method to show that our method can get candidates of locators at the same accuracy as the previous work that uses 19 indices.
ASJC Scopus subject areas