Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to parameterize a link object/element in QTP
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
HI galstar,

You can parameterize the Link object, but we have to use the Descriptive Program or "SetToProperty" in order to work with that.

Descriptive Program:
'in the global sheet Create column with name as "LinkName" and enter your Link names in that column.
Now try to work with Link.
Code:
Browser("").Page("").Link("name:="& Datatable("LinkName",dtglobalsheet).Highlight


SetToProperty:
Browser("").Page("").Link("ORLink").SetToProperty "name",Datatable("LinkName",dtglobalsheet)
Browser("").Page("").Link("ORLink").Highlight

Please let me know if you need any more information on this.
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: How to parameterize a link object/element in QTP - by supputuri - 08-02-2010, 11:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to parameterize keywords in QTP kamalteja 1 1,865 12-20-2014, 09:49 PM
Last Post: supputuri
  How to use "IconInfor" Element in QTP venkatbatchu 1 2,243 01-05-2011, 05:28 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)