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

I need to have the descriptive details of all the objects in OR and have to write in an excel sheet. Can anyone suggest me the best way to do it.
For Eg there is a weblink "XYZ" in OR and its description is as below :
Code:
Browser("name:=abc").Page("name:=abc").WebLink("name:=XYZ")

So for every object i have to write it description in my excel sheet which will work as Application Map.

Thanks in Advance.
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi,

Use GetTOProperties() to retrieve the collection of Property values of Test Object in Obj. Repo and post them into Excel.

Refer the below example:

Code:
Set LinkProp=Browser("Abc").Page("Abc").Link("test").GetTOProperties()
For i=0 to LinkProp.count-1
        msgbox LinkProp(i)    ' post this value into Excel
Next
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to find out the object property in the Description language . njnirmal 9 6,729 05-19-2015, 12:30 AM
Last Post: qtptester66523
  Description.Create with same propertie and different values, not working ttralor 2 2,560 01-13-2013, 12:11 AM
Last Post: ttralor
  Error while creating object using description.create object in VB script SarodeGirish 5 6,318 06-19-2012, 05:30 PM
Last Post: ssvali
  Problem while adding description of an object using a varibale shibinp 2 3,471 08-25-2011, 10:51 AM
Last Post: shibinp
  descriptive programming- object description vnicey 3 4,700 11-24-2010, 01:02 AM
Last Post: Anu123

Forum Jump:


Users browsing this thread: 1 Guest(s)