Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trying to find a specific link
#1
Solved: 10 Years, 9 Months, 1 Week ago
I have an issue, using the code:
Code:
With Browser("Wisdom").Page("Wisdom IA").Frame("parent")
absY = .Link("name:="&ReportName, "visible:=True").GetROProperty("abs_x")
absY = .Link("name:="&ReportName, "visible:=True").GetROProperty("abs_y")
.Link("name:="&ReportName, "abs_x:="&absX, "abs_y:="&absY ).Click
End With

Found even the hidden links on my page, so the code errored due to many matching links.

So, I tried the code:
Code:
Set TableObj = Browser("Wisdom").Page("WisdomLogin").Frame("parent").WebTable("html id:=NestedGrid1")
Set LinkObj = TableObj.ChildItem("Link")
LinkName = LinkObj.GetROProperty("innerText:="&ReportName)
absX = LinkObj.GetROProperty("abs_x")
absY = LinkObj.GetROProperty("abs_y")

but i am getting a object type m,issmatch error.

Any thoughts on what I might be doing wrong?

thx for looking.
Reply


Messages In This Thread
Trying to find a specific link - by mv8167 - 01-24-2012, 12:32 AM
RE: Trying to find a specific link - by mv8167 - 01-24-2012, 03:09 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Find specific file exist in a folder shijukonline 1 14,406 06-07-2011, 03:32 PM
Last Post: surya_7mar

Forum Jump:


Users browsing this thread: 1 Guest(s)