Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with childObjects
#1
Not Solved
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 :
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
Reply


Messages In This Thread
problem with childObjects - by hadar - 03-27-2012, 01:56 PM
RE: problem with childObjects - by sshukla12 - 03-27-2012, 02:26 PM
RE: problem with childObjects - by hadar - 03-27-2012, 02:31 PM
RE: problem with childObjects - by sshukla12 - 03-27-2012, 03:01 PM
RE: problem with childObjects - by hadar - 03-28-2012, 07:35 PM
RE: problem with childObjects - by sshukla12 - 04-02-2012, 10:37 AM
RE: problem with childObjects - by hadar - 04-02-2012, 12:29 PM
RE: problem with childObjects - by sshukla12 - 04-02-2012, 12:56 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need help in creating dynamic object string using Childobjects Keshub Mathur 0 1,598 09-11-2017, 05:52 PM
Last Post: Keshub Mathur
  childObjects not working sometimes hadar 0 1,866 07-30-2013, 12:04 AM
Last Post: hadar
  How to get ChildObjects to register table? Tonya S 0 2,683 09-09-2011, 03:00 AM
Last Post: Tonya S
Question "Or" (|) does not work in Regex, using childObjects?? ConstantChange 0 2,275 10-08-2008, 10:40 PM
Last Post: ConstantChange

Forum Jump:


Users browsing this thread: 4 Guest(s)