1.what is the difference between childobjects and child
items in qtp?
2.what is difference between a class and function?

3.can u convert ustimings to indian timings using vbscript?
4.i have scripts in one machine.can i run those scripts in
another machine.how?

Answers were Sorted based on User's Feedback



1.what is the difference between childobjects and child items in qtp? 2.what is difference betwee..

Answer / savitha

1. Difference between Child Objects and Child Item

Child Objects return a collection of objects of a specific
type.
eg: for the count of No of webedits present in a page we
can use Child objects method
set odesc = Description.Create()
odesc("Class Name").Value = "WebEdit"
Browser("title:=.*").Page("title:=.*").ChildObjects("odesc")

Child Items can be used only with a webtable object type to
retrieve/access a test object from a cell in the webtable.

Is This Answer Correct ?    77 Yes 14 No

1.what is the difference between childobjects and child items in qtp? 2.what is difference betwee..

Answer / sanchita

Child Objects is used to access the objects by using a desciption object. For example : To find out the number of links.
Syntax: object.ChildObjects("Description")

Child item is used to access the objects without using a description object. For example : To click a particular link in a specified row and column of a table.
Syntax: object.ChildItem(Row, Column, MicClass, Index)

Is This Answer Correct ?    20 Yes 3 No

Post New Answer

More QTP Interview Questions

How to create an Action Template?

1 Answers  


i need the word "good morning" to be displayed by default whenver we click upon the blank test while opening the qtp. Could you please answer...

7 Answers  


write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?

1 Answers  


can anyone please send me qtp framework material please its urgent

1 Answers  


what is automation(qtp)bug pls giv me one ex?

1 Answers  






tell me abt a time when u had to go above &beyind the call of duty to get the job done

0 Answers  


What is the Diff between Image check-point and Bit map Check point?

15 Answers   CTS,


if you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?

2 Answers   Ordain Solutions,


How to record & run on Japanese language application using english version of QTP ???

4 Answers   ABC,


how can i count the number of links???

2 Answers  


What is the use of text output value in quicktest professional?

0 Answers  


How to capture data from images in QTP and produce them in Excel sheet ? please ans...

3 Answers   Sapient,


Categories