Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Childobject in swfTable
#1
Not Solved Cool 
Hello,

I have a table object
Code:
swfWindow("Risk_Management").SwfTable("swfTable")

I searched for a specific record in SwfTable and expanded the record.
...no problems...

I see on the screen after expand a child table under the found record.

I try to get access to the child using
Code:
Set oDesc = Description.Create()
Set x = swfWindow("Risk_Management").SwfTable("swfTable").ChildObjects(oDesc)

anzahl = x.Count

The result anzahl is 0, althougt I see the child on screen.
I expected that x now would be the object of the child-records ...

Don't know why I can't get access to the child object


Best regards
Uwe Pfeiffer
Reply
#2
Not Solved
U are not describing the properties of the child
EX: oDesc("name").value="abc"
etc
Reply
#3
Not Solved
Hello,
I don't know the name of the child, because I can't see it in the Object Repository. There you only see swfTable...

If I look in the help of QTP it should show all child objects, beacuse my
search is -empty- ...

Best regards
Uwe Pfeiffer
Reply
#4
Not Solved
Sorry,
tell me whether you want to access the table contents? i mean cell values right?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Childobject return wrong checkbox count.. VpnQTP 1 2,555 04-09-2015, 09:07 PM
Last Post: babu123
  QTP childObject hadar 1 2,843 04-23-2014, 05:00 AM
Last Post: kgovadav
  How to activate cell in swftable arpan 1 4,529 07-05-2013, 02:50 PM
Last Post: Staff
  Selecting image in swftable Taran 2 6,042 10-04-2010, 06:56 PM
Last Post: lotos
  Childobject weird behavior jsknight1969 5 4,167 02-26-2010, 10:31 PM
Last Post: jsknight1969

Forum Jump:


Users browsing this thread: 1 Guest(s)