cancel
Showing results for 
Search instead for 
Did you mean: 

How to validate if object is hyperlink

Occasional Contributor

How to validate if object is hyperlink

I have to validate if objects are hyperlink.  I cannot find any properties that can identify if it is hyperlink.  

 

it will be something like this on screen...

 

Object 1

Object 2

 

How can I validate that Object 2 is a hyperlink?  I looked into both objects properties and they looked the same.  This objects are in a table, same column, different row.  

 

3 REPLIES 3
Community Hero

Re: How to validate if object is hyperlink

Post the Advanced settings from Object Spy from the hyperlink object please.

Occasional Visitor

Re: How to validate if object is hyperlink

Hello

 

 I have to validate if objects are hyperlink. I cannot find any properties that can identify

 

_________________________________

Best Cheap Assignment Help in Australia

 

Valued Contributor

Re: How to validate if object is hyperlink

In order to help you to validate whether the object is hyperlink, we need to know the object type. There are many different controls and there is no universal way to achieve your goal. That's why Marsha asks you to post here screenshot of the Object Spy with your object.

 

However, I think you will be able to find out the way by yourself. I am attaching an example of the similar object which has a link inside the test. From the Object Spy you can see that in my case I can verify whether the property WndClass is equal to SysLink. Another way - is to check whether wText property contains <A> tag.

 

Explore your control's properties, I think you'll find a property which can be used to detect whether your object is hyperlink or not.

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors