Answer Posted / 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 View All Answers
How the smart identification is used in real time?Please explain with an example
Can any one brief some detail on how the shared and action object repository utilized/implemented in a real time project. I already know how to make shared object repositor by saving OR as .tsr extension..I wanted the actual concept of implementation...couple of live examples will be highly appreciated. Thanks
What is the difference between a Function and Action in QTP?
What is a quick test professional?
hou can we use vb script in qtp could u tell me breafly
What is checking bitmaps?
When to use shared and local object repository?
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
How you can decide which type of object repository you have to use?
What is difference between shared and local object repository?
Difference between copy to action and call to action?
What is CMMP and CMMH?
I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible
How do you test the text displayed in the header portion of times of india epaper. Hot news(banner) are scrolling in the top of the page, how do you test using QTP?
What are the different recording modes?