03-27-2012, 01:56 PM
Hi,
I am using the childObjects command in my testing.
I encounter problem in some pages that contain large number of objects.
I see that qtp become "not responding" and it return after 5 seconds empty list.
When I run this on different machine (same OS version, same QTP11 version) it works OK.
I encounter the same problem after login to facebook or in ynet.co.il page .
It doesn't help if I add description.
Example for code :
I am using the childObjects command in my testing.
I encounter problem in some pages that contain large number of objects.
I see that qtp become "not responding" and it return after 5 seconds empty list.
When I run this on different machine (same OS version, same QTP11 version) it works OK.
I encounter the same problem after login to facebook or in ynet.co.il page .
It doesn't help if I add description.
Example for code :
Code:
Set oDesc = Description.Create
oDesc("micclass").Value = "Browser"
Set childs = Desktop.ChildObjects (oDesc)
Set child = childs (0)
print child.toString
Set oDesc = Description.Create
oDesc("micclass").Value = "Page"
Set childs = child.childObjects(oDesc)
Set child = childs(0)
print child.toString
Set childs = child.childObjects
print childs.count