What is Description Object?



What is Description Object?..

Answer / yedukondalu

Description object is an object where you can specify or assign some properties to an object and use the same.

Example: If you want to get the Link child objects in a page you can create a description object for the childobject and then search for that.

Set MyDescObj = Description.Create() 'Creating a description object
MyDescObj("Class").value = "Link" ' Assigning a property and value for the object.

'You can specify number of properties and value for the descripton object.

Set ChObjLinks = Browser().Page().ChildObjects(MyDescObj)

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

what r advance features u had done in QTP?

3 Answers   HCL,


What is QTP?

3 Answers   Crea,


Hello Guys, Can anybody Explain me about Automation framework?? and how can we prepareAutomation Framework using QTP

3 Answers   CTS, IBM, Sapient,


I want to scroll down in MSPAINT (captured a screen already). So that I can read the data in it through the step Window(paint).GetVisibleText for my validation. Anyone know the scripting for this?

1 Answers   TCS,


why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all..

4 Answers   Cap Gemini,






What is smart identification in QTP?

0 Answers   HCL,


I am not able to record yahoomail browser.its giving error like "The browser Application can't be launched .Posssibly the URL is wrong" So anyone can tell me what setting i have to do in qtp??

1 Answers  


There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code

0 Answers  


How to handle the exceptions using recovery scenario manager in QTP?

0 Answers   Crea, CTS,


WHAT IS DIFFERENCE B/W QC 9.2 AND QC 10.0

1 Answers   SoftTech,


hi guys, pls tell me for testing institution training hub, hitech city is best or not?

0 Answers  


What is the life cycle of QTP? Pls Give me Exact answer?

6 Answers   Google,


Categories