Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GetROProperty help
#1
Not Solved
I am trying to see if a current ReportName is visible, if it is Then…

But I get the Run error message:

Cannot identify the object "[ Link ]" (of class Link). Verify that this object's properties match an object currently displayed in your application.

Should I look for a different property?

My code:

Code:
ReportName = "FAX REPORT"
absX = 50
absY = 666


#1 try
Code:
With Browser("W").Page("A").Frame("SelectAnApplication")
If .Link("name:="&ReportName, "abs_x:=" & absX, "abs_y:=" & absY).GetROProperty("visible") Then


#2 try
Code:
With Browser("W").Page("IA").Frame("SelectAnApplication")
ReportFound = .Link("name:="&ReportName, "abs_x:=" & absX, "abs_y:=" & absY).GetROProperty("visible")
If ReportFound = True Then


If the Link is visible, the code works. If the Link is not visible, I get an error. If not visible it should continue on.

Is this possible?
Reply


Messages In This Thread
GetROProperty help - by mv8167 - 06-26-2012, 10:36 PM
RE: GetROProperty help - by supputuri - 06-26-2012, 11:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Smile How to Select GetROproperty value in GUI sangitarm 2 4,639 10-15-2012, 11:52 PM
Last Post: agarwl.anurag
  GetROProperty error when used in a for loop JustLag 2 2,935 05-15-2012, 08:19 PM
Last Post: JustLag
  GetROProperty Getafix 1 6,334 08-23-2011, 07:16 PM
Last Post: Ankesh
  Generate Run time error on Allchkboxes(i).GetROProperty("all items") Langxii 1 3,625 07-06-2011, 09:34 AM
Last Post: rajpes
  Retrieving GetTOProperty and GetROProperty manmeet.singh81 1 6,453 06-08-2011, 12:01 PM
Last Post: Jay

Forum Jump:


Users browsing this thread: 1 Guest(s)