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 Exactly we can find out the INDEX No. of any object of an application when we test that application in QTP? Explain this by giving me the example of all LINKS of G-Mail (including home page, User-account page and all possible pages you ever seen in G Mail)?????? and if your answer is that as per appearance of objects(LINKS) in application we can find out the index number in application then tell me how you find out which object(LINK) having INDEX No. 1,2,3 and so on and how you say which object(LINK) is appeared first and which is last?

4 Answers   Infosys,


how to write xml output check point bu useing descriptive programing .means without useing output check point

0 Answers  


How we can call the scripit from another scripit in QTP?,Not a call Action

12 Answers  


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

0 Answers  


Explain features of the latest version of qtp/ uft 12.1?

0 Answers  






What r the features of QTP9.2,other than QTP8.0 What r the extre features of QTP9.2.

2 Answers  


What is post recovery scenario?

0 Answers  


Hi guys, Please suggest some thing these points are correct???, Is UFT 12 and QTP outdated ??? and also VBscript is also deleted/Removed from QTP ???? Javascript is added latest and tool name is called JFT ??? From this year ??

2 Answers  


Why do you choose only QTP for your project automation among remaining tools like Rational robot and silk test?

2 Answers   CTS,


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

0 Answers   Wipro,


before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...

2 Answers   Keane India Ltd,


how to get the object property

4 Answers   Covansys,


Categories