Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding a Link
#3
Solved: 10 Years, 10 Months, 1 Week ago
Parminder,

Thx, but nope the change still gave me the same error message.

The script sees the link, but the code fails. (see attachment)

The funny thing is that I create my dataTable using the page that I am currently trying to select the Lnk objects on. Can I somehow reuse this cose to help selecrt the links?
Code:
Set TableObj = Browser("Wisdom").Page("Wisdom IA_2").Frame("parent").WebTable("Select All")

Set LinkObj = TableObj.ChildItem(r, c, "Link", k)
LinkName = LinkObj.GetROProperty("innerText")
LinkHref = LinkObj.GetROProperty("href")

LinkName  = objExcel.Cells(rNumber, 3).Value
LinkHreff = objExcel.Cells(rNumber, 4).Value


Attached Files
.pdf   Finding Link on web page to click.pdf (Size: 173.45 KB / Downloads: 90)
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,640 02-25-2014, 02:22 PM
Last Post: guin.anirban
  Finding the correct Link mv8167 2 4,311 01-24-2012, 07:58 PM
Last Post: mv8167
  Finding the correct WebTable mv8167 0 2,368 12-07-2011, 02:38 AM
Last Post: mv8167
  Finding Links with Paren's mv8167 10 6,984 09-27-2011, 02:46 PM
Last Post: Ankesh
  Finding WebElements mv8167 7 9,208 06-30-2011, 11:05 PM
Last Post: parminderdhiman84

Forum Jump:


Users browsing this thread: 1 Guest(s)