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

What is the concept of hooking in QTP?

1 Answers  


What is the main differece between QTP 9.0 and 9.2

1 Answers   VeriSign,


You have a WebTable in Web application. When you Record a Scenario using QTP, WebTable didn't recognized and also Repository is not having Webtable information. In this case How to find RowCount and Coloumn Count?

2 Answers   PanTerra,


What is the Difference between test object and run time object?

0 Answers  


what are recovery management techiniques?

2 Answers   BirlaSoft, GL Noble Denton,






Can anybody help me by sharing the code for checkbox in qtp using vbscript.

2 Answers  


where u maintain qtp scripts in ur company

4 Answers   HCL,


Diff between Test Stratergy and Test Plan? Diff b/w Test design ansd test case design?

1 Answers  


How to handle the errors without using recovery scenery?

3 Answers  


What are Child Objects?

1 Answers  


If object is not recognized by qtp but the object is standard object what is your approach?

0 Answers  


What is iteration? How it is related to Test Results in QTP

3 Answers   Virinchi Technologies,


Categories