Locators allow tester to find elements on a page that can be used in automated tests. And it is not trivial task to uniquely identify some locators.
I offer 4 add-ons that we successfully use for locators identification.
Firebug has become the de facto tool for web developers, as it allows developers to find elements on the page by using the find functionality.
an entire page.
A very good tool for testing out XPath and CSS on the page. It will highlight all the elements on the page that match the selector to your element location.
3. IE Developer Tools
This is built into IE7 and IE8, which we you launch by pressing F12. It also has a number of features that Firebug has.
4. Google Chrome Developer Tools
This, like IE, is built into the browser and will also allow you to find the elements on the page and be able to work out its XPath.