Micro Focus QTP (UFT) Forums
Presence of WebLink and Webbutton - 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: Presence of WebLink and Webbutton (/Thread-Presence-of-WebLink-and-Webbutton)



Presence of WebLink and Webbutton - hamzaz - 07-27-2012

Hi Guys


Could you please tell me how to verify the presence of link and webbutton?

Code:
if Presence
msgbox "Present" else
msg "not present"

I am working on user roles automation, in which some users can see button and some dropdownlists and some don't have access.

early reply will be highly appreciated Smile


RE: Presence of WebLink and Webbutton - sree.85 - 07-29-2012

You can use child objects or use the function GetROProperty