Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Childobject weird behavior
#3
Not Solved
Code:
Set cobj = Description.Create()
cobj("text").value = "123456"
cobj("html tag").value = "a|A"
With  Browser(Browserobj).Page(Pageobj)
    set linkarray = .ChildObjects(cobj)   '<===this is the last line executed
    msgbox linkarray.Count   '<=== this returns an error "Object not found"
End with

This code works perfectly with 10 results, just not with 100.
Reply


Messages In This Thread
Childobject weird behavior - by jsknight1969 - 02-25-2010, 02:20 AM
RE: Childobject weird behavior - by Saket - 02-25-2010, 10:18 AM
RE: Childobject weird behavior - by jsknight1969 - 02-25-2010, 10:39 PM
RE: Childobject weird behavior - by jsknight1969 - 02-26-2010, 01:37 AM
RE: Childobject weird behavior - by Saket - 02-26-2010, 10:15 AM
RE: Childobject weird behavior - by jsknight1969 - 02-26-2010, 10:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Drag and Drop Annoying QTP Behavior ShaneP 1 4,919 08-21-2015, 07:25 PM
Last Post: Nj_Acc
  Childobject return wrong checkbox count.. VpnQTP 1 2,865 04-09-2015, 09:07 PM
Last Post: babu123
  QTP childObject hadar 1 3,024 04-23-2014, 05:00 AM
Last Post: kgovadav
  Unexpected Behavior of Reporter.Reportevent chinmaya chirasundara nayak 3 3,737 12-03-2013, 10:43 AM
Last Post: kotaramamohana
  QTP vbscript ArrayList strange behavior frankhovin 2 3,148 11-11-2013, 07:12 PM
Last Post: Parke

Forum Jump:


Users browsing this thread: 2 Guest(s)