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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to release all resources file from the QTP?

1055


Explain in brief about the quicktest professional automation object model?

517


Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet 'traffic congestion' problems to be accounted for in testing?

620


What is system testing and what are the different types of tests you perform in system testing?

602


How to find array size in qtp?

585






How to explain a banking project in interview as a test engineer???

2599


what are the mandatory properties for a tex boxc (scenario?)

1529


How do I lauch my test website using code from qtp in different environmet, uat and PPTE?

1462


Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

1409


what is meant by source control?

1696


What is object spy in quicktest professional?

619


Explain the check points in quicktest professional?

544


Why do you create a text checkpoint on a Web application? What is the purpose of the Close method?

1359


Hoe can we do retesting using functions please give the code for it using login page

1568


what is object and child object.. explain ..if possible give some example for better understanding ..

1531