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
#2
Not Solved
try with .Exist rather depending on visible.

If at all you have to check whether the link is visible or not, first step should be validating that the link is exist.

Let me know if you need any more help.
Thanks,
SUpputuri
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)