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

how to parameterise a test with data base table or excel sheet?

1 Answers   FCG,


hello everyone, can anybody please tell me what are the different recording modes of QTP, and where these recording modes are present in QTP 9.2. Thanks in advance, Gaytri

7 Answers  


There are some links on the page,count and click those links and check the text on the page displayed on clicking the link.write script for this scenario.

0 Answers  


how can i call an external action,which is not added external action of an action?

2 Answers   Ordain Solutions,


I opened gmail login into gmail and i have to save (Pass or move) all the mail into notepad please give me code Thanks of all

0 Answers   Wipro,






Step 3&4 are repeated until an the object in recognised uniquely.

0 Answers  


How to test login page by using QTP

6 Answers  


How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

0 Answers   LinkEdge,


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

0 Answers  


How to creating an output value using quicktest professional (qtp)?

0 Answers  


Can we add the function library directly from scripting in qtp instead of adding from resource tab?

5 Answers   IBM,


how u track bugs using Test director in manual testing.

2 Answers   Accenture, FCG,


Categories