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

Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

823


Can UFT be connected to Quality Center? If ‘Yes’ brief the process or steps.

835


There is an built in window application in qtp9.1,i.e.Flight4.0.i want to implement the recovery maneger on it.How can i do this?

1819


What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

889


What are the different types of functions available in qtp and explain ?

781


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

928


To retrive the test data which tool vl use and whats basis u vl write test data? its urgent

1658


How many types of recording modes in qtp? Which will be used when?

742


how to post xml data from QTP scripts to any application?

1730


What is the extension of the qtp local repository?

753


How do you check ticket cost and ticket number in flight application?

808


How to run a test using quicktest professional (qtp)?

768


What are the trigger events in qtp?

800


Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance

1717


What is throw Object?

1765