When mapping a custom class in by default if winrunner cannot recognise the text - object name its default setting is to look by location.

Is this the best manner in which to learn about the object or perhaps index from a particular location is???

When using silktest i would generally find a location that is not going to change then scan thrugh until i found the index of the object. I would find it based on the text on screen.

Which way do you use for complete robustness? Index - Location location seems pretty fraught with difficulties when the objects change location.

Is there another manner in which to deal with this situation?