The main GUI window of the client application I'm testing has a .class property that changes each time the client is opened. I've wildcarded the property to allow for the window to be detected, but this has an annoying side effect. If I try and add new GUI objects to my test object map when working on a new instance of the client, it doesn't add them under the existing object map entry, it adds them alongside, as seen in this image:
If that is unavoidable, I need a way of moving the child objects under the existing top level node that uses the wildcarding.
Note: It is only when the .class property contains a wildcard that this issue occurs. A wildcard in any other property does not cause this issue.