You can validate locators in locator repository editor with object spy.First select the locator from locator repository and click on at the top right corner. You can validate one or multiple locators with one click.It would be validated whether present or not on opened web page of object spy.Likewise, select all or multiple locators and click on the icon, and validate them on opened web page of object spy.If validation goes successful locator would be green out, else it would be red showing the failure. Make sure that web page is opened in object spy.
- Select element which you want to validate from locator repository file.
- Click on icon from top right corner.The locator entries marked in Green are present in the page opened and Red ones are not present in opened page.