Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP childObject
#1
Not Solved
Hi,

I am using QTP11 with windows7 64 bit.
In my code I use the childObject method and in some cases it doesn't work.

I reproduce it with the below code and using file I generated with different number of the following link:
<a href="http://www.w3schools.com" target="_blank">Visit W3Schools</a>

If I have 10100 the code print 10100 objects.
If I have 10300 the code print 0 objects and there is error.

How can this be solved ? Is there a limit to the number of objects or time limit ?

Thanks

Code:
Set d = Description.Create
d("micclass").value = "Browser"
Set r = Desktop.ChildObjects(d)
Set br = r(0)
Set d = Description.Create
d("micclass").value = "Page"
Set r =br.ChildObjects(d)
Set p = r(0)
Set d = Description.Create
d("micclass").value = "Link"
Set r =p.ChildObjects(d)
print r.count
Reply


Messages In This Thread
QTP childObject - by hadar - 03-26-2014, 03:53 PM
RE: QTP childObject - by kgovadav - 04-23-2014, 05:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Childobject return wrong checkbox count.. VpnQTP 1 2,865 04-09-2015, 09:07 PM
Last Post: babu123
Cool Childobject in swfTable Pfeiffer 3 7,977 10-11-2010, 06:10 PM
Last Post: KavitaPriyaCR
  Childobject weird behavior jsknight1969 5 4,480 02-26-2010, 10:31 PM
Last Post: jsknight1969

Forum Jump:


Users browsing this thread: 1 Guest(s)