Interview Questions   Tutorials   Discussions   Programs   Videos   

QTP - What is the difference between child objects and child items in qtp?




1848
views
asked marvit August 19, 2014 02:36 AM  

What is the difference between child objects and child items in qtp?


           

1 Answers



 
answered By Dharma   0  
ChildObjects method is to access total child objects from an object using description object. In other words, it returns the collection of child objects contained within the object.

Syntax:- object.ChildObjects ([Description])
ChildItem method is to access child objects from a web table cell in web table object without using description object. In other words, it returns a test object from the cell by type and index.

Syntax:-object.ChildItem (Row, Column, MicClass, Index)
flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert