Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Description Object
#2
Solved: 11 Years, 4 Months ago
HI Sanjith,

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 then you can create a description object for the childobject and then search for that.
Code:
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.

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

Please let me know if you need any more info.
Thanks,
SUpputuri
Reply


Messages In This Thread
Description Object - by Sanjith Kumar - 08-03-2010, 11:36 PM
RE: Description Object - by supputuri - 08-04-2010, 12:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Taking Property values in Description objet throw Excel Sheet devarapallliramana 3 3,128 03-11-2014, 10:50 PM
Last Post: supputuri
  error with msdn's description of overwrite value of CreateTextFile ?? anu05446 1 2,595 03-10-2014, 02:48 PM
Last Post: basanth27
  Description about Types of Ordinal Identifier abhijit.airforce 1 2,501 12-27-2013, 02:57 PM
Last Post: Ankesh
  WebElementobject's description matches more than one of the objects sumanth 5 3,905 10-29-2013, 03:15 PM
Last Post: Sathiya
Sad Empty Server description SAP GUI 7.20 with QTP11 sylvester618 2 4,705 09-10-2013, 06:05 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 3 Guest(s)