Micro Focus QTP (UFT) Forums
Browser - Child objects method is very very slow - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Browser - Child objects method is very very slow (/Thread-Browser-Child-objects-method-is-very-very-slow)



Browser - Child objects method is very very slow - prasperl - 11-12-2014

I am using the below given step to collect all the child objects in a page.

it takes almost for minutes to collect 200 child objects.Is there any way to speed up this process?

Code:
Set odesc=nothing
Set odesc=Description.Create()
odesc("micclass").value="WebElement"
odesc("class").value=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Set l_link=Browser(xxxxxxxxxxx).Page(xxxxxxx).ChildObjects(odesc)