Locator Repository is a location where all data(locator) of web element of web page are stored. Locators are used to find and match the elements of web page.Locator file contain locator,its description and key.so when developer want to use during execution they should write key of locator.Locator strategy can be name,css,xpath or id.
Advantage of Locator Repository
- Locator repository is a centralized location of the objects and their properties, so that if any object information changed in AUT, you need not to change in all the scripts, it is enough to change in the Locator repository
- Easily maintain your tests or components when an object in your application changes