Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding a Link
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
I am trying to find links on a web page. The attached pdf shows the code I have and the table that the code is using to fiind the Links. I tried using just the href of the Link object. Currently, my code is trying to use the Link properties for the name and href coulmns of the table. Can someone help me look mover why my code does not work.

My code:
Code:
For r = 2 to rNumber ' loop thru your DocView values (from 2 to rNumber or set to #)
    'DocView
    ReportType = ObjExcel.Cells(r,3)
    'Href
    Hreff = ObjExcel.Cells(r,4)
    
Browser("Wisdom").Page("Wisdom IA_2").Frame("parent_2").Link("href:="&Hreff; "name:="ReportType).Click


Attached Files
.pdf   Grab Href and DocView.pdf (Size: 123.88 KB / Downloads: 109)
Reply


Messages In This Thread
Finding a Link - by mv8167 - 06-20-2011, 08:38 PM
RE: Finding a Link - by parminderdhiman84 - 06-20-2011, 11:02 PM
RE: Finding a Link - by mv8167 - 06-20-2011, 11:34 PM
RE: Finding a Link - by parminderdhiman84 - 06-21-2011, 11:21 AM
RE: Finding a Link - by mv8167 - 06-21-2011, 07:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation UFT is not finding object in runtime but able to locate the object from repository amar.vallapreddy 1 2,631 02-25-2014, 02:22 PM
Last Post: guin.anirban
  Finding the correct Link mv8167 2 4,290 01-24-2012, 07:58 PM
Last Post: mv8167
  Finding the correct WebTable mv8167 0 2,361 12-07-2011, 02:38 AM
Last Post: mv8167
  Finding Links with Paren's mv8167 10 6,963 09-27-2011, 02:46 PM
Last Post: Ankesh
  Finding WebElements mv8167 7 9,172 06-30-2011, 11:05 PM
Last Post: parminderdhiman84

Forum Jump:


Users browsing this thread: 1 Guest(s)