How to get Child object of an object coming from FindChild function
I want to find an object which always contains a specific "MainFrame" string in its name,
and call its child objects.
I use FindChild function in Jscript.
PropNames = Array("MappedName","Exists");
PropValues = Array("*MainFrame*","true");
mainFrame = MainObject.FindChild(PropNames,PropValues,2);
It returns an object, which has several properties and exists,
But it is not possible to call childs objects of mainFrame.
childObject = mainFrame.ChildObject ; I have a message telling ChildObject has not been found
But object bowser or Inspect shows this object exists.
It happens even if they are mapped in NameMapping and Required Chidren.
If I redo FindChild operation on the mainFrame child objects,
the object it finds is empty, it has not even Exists property set to false.
Thanks a lot.