NameMapping have "Required Parent" feature
Currently parent objects that have children have the ability to set a rule to have a "Required Children" field.
However in our case, we have a panel that potentially can have children. These children are dynamic. and can be in 2 different locations.
My issue is that since the children are dynamic i cannot link them to the parent. Since I cannot link them to the parent the application can locate weither they are in Object A or Object B.
If i say Aliases.browser.page.objectA.dynamicObject.Click it clicks the object not problem. however, if i move that object to the other object via drag and drop or just moving it or what ever, if i say Aliases.browser.page.objectA.dynamicObject.Click, it will still click the object. Even though it is located under objectB. this is because when testComplete looks at the object it doesn't care about its parent it only cares weither it found the same type of object. I have no fields to state that it is apart of a parent, so if i could say "required parent" then it would make my job easier.