GetROProperty help - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: GetROProperty help (/Thread-GetROProperty-help--6532) |
GetROProperty help - mv8167 - 06-26-2012 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" #1 try Code: With Browser("W").Page("A").Frame("SelectAnApplication") #2 try Code: With Browser("W").Page("IA").Frame("SelectAnApplication") 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? RE: GetROProperty help - supputuri - 06-26-2012 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. |