Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get Link name before clicking it
#2
Not Solved
Hi,
If u have more than one link in your page u can go for Descriptive Programing.
Code:
Dim obj
Dim obj_link
Dim link_name
Set obj=Discription.Create
obj("html tag").value=XX (use spy to get the value of XX)
obj("micClass").value="Link"
Set obj_Link=Browser(aa).Page(bb).link(obj)
Foreach a in obj_Link
link_name=a.GetRoProperty("name")
Next

Regards,
Sankalp
Reply


Messages In This Thread
RE: How to get Link name before clicking it - by sshukla12 - 12-22-2011, 10:42 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Winbutton slow in clicking kpat 0 2,122 05-23-2016, 12:09 PM
Last Post: kpat
  Clicking on sublink venkatesh9032 1 3,182 06-01-2015, 08:26 PM
Last Post: babu123
Exclamation Login & logout in Siebel and clicking pop-up button yuetling926 7 12,257 07-09-2014, 10:43 PM
Last Post: hhamilton
  Clicking a link in an outlook email using QTP kirti 0 5,976 06-15-2014, 01:25 AM
Last Post: kirti
  QTP not clicking on Yes button in the IE pop up dialog adityasrinivasb 2 10,293 09-29-2013, 11:01 PM
Last Post: prashantrawat101@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)