1. A method, comprising: identifying, by a system having a processor, relations between a target object and other objects within a software application that includes an operation to perform on the target object; testing, by the system, the identified relations to determine which of the identified relations, if any, are useful for identifying the target object so that the operation can be performed on the target object; and based on the testing, generating, by the system, a set of the useful relations corresponding to the target object.