Forum Discussion
Abramova
Staff
14 years agoHi Krushna,
If your goal is to shorten expressions for addressing objects, use the NameMapping feature. This approach lets you define the object in advance and allows you to change the object hierarchy by excluding intermediate objects from the syntax. I recommend that you read http://smartbear.com/support/viewarticle/12465/ in the online documentation.
The FindChild method is typically used for the dynamical search for the object. Note that the FindChild speed depends on the Depth parameter. So, I recommend that you call FindChild belonging to the nearest known parent of the target object. For more information on using this method, please refer to http://smartbear.com/support/viewarticle/12729/.