Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
Allan is referencing the use of methods like FindChild and FindAllChildren which are excellent programmatic ways for finding components and objects. They don't add the objects to NameMapping but they do search the hierarchal tree of objects to find the specific object based upon a set of properties and values. As mentioned, this takes some design work because you need to know the sets of properties and values to use for finding objects. Data driven work with external files (like CSV or XML) can help with this so you don't have to "hard code" in your tests the specifics but you can build your mapping structure externally.
Many ways to skin the same cat... :-)
Many ways to skin the same cat... :-)