Can anyone tell me if it is possible to use ChildObjects with Descriptive programming?
The object hierarchy in my application is Browser -> Page -> Frame -> JavaApplet - > Java Objects.
I would like to get the count of all the java objects that are present under java applet.
But I always get zero count for Java Applet, 2 for Frame, 12 for page. This is the case no matter what object description I give or not give any description at all.
Code I'm using is :
Set desc = Description.Create()
desc("Class Name").Value = "JavaEdit"
Set Lists = AppletName.ChildObjects(desc)
cnt = Lists.Count
Can any one point out, what is it that I am doing here?