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 are the different attributes used with regular expression?

0 Answers  


how to count the word "IS" is repeated in the application using DP

3 Answers   DST Global Solutions,


. My application is updating the user information in the application. Every time it is Adding on record in my application and Validating the information like “Record has added successfully”. Which Check point I have to put in this situation? Why?

5 Answers   Polaris,


Tell me about qtp?

0 Answers  


Tell me the situations where we will use Data Driven?

2 Answers  






how do u get lib files into scripting files?

4 Answers  


There are two tabs in the application suppose, A and B.On clicking the tab "A" one table grid will open. if u click on tab "B" Another table gride will open. Now can I do some operations on both table grids with a single table grid properties in the object repository? I have added all objects of the first table grid into the object repository Now iam checking enable/disable status of "save button" in the second table grid my code is like this val=javawindow("zseries").javabutton("save").getroproperty ("enabled") when I highlighting the save button in the object repository by keeping open the second tablegrid on the application.It is displaying the popup message"The selected object can not be found in the application" can I use properties of one table grid for both tabs if so how it is possible. Can anyone help me

2 Answers   Livetek,


I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it

3 Answers  


how to associate object repository during runtime in qtp

1 Answers   Deloitte,


In qtp is it possible to check broken links of a page?

0 Answers  


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


What are the Latest Feature are added In QTP 9.2?

2 Answers   Infotech,


Categories