Micro Focus QTP (UFT) Forums
Disabled Webelement is showing up as Visible =True in GUI Spy - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Disabled Webelement is showing up as Visible =True in GUI Spy (/Thread-Disabled-Webelement-is-showing-up-as-Visible-True-in-GUI-Spy)



Disabled Webelement is showing up as Visible =True in GUI Spy - Shwethareddy - 11-07-2012

Hi,

Am trying to find if the Next page object is enabled and Click if enabled.
But when i spy both enabled & disabled objects in the application, GUI spy shows visible property as "True" for both of them.

trying to get visible property value through GetROproperty method to test this functionality. Is there any other way i achieve this?

Thanks


RE: Disabled Webelement is showing up as Visible =True in GUI Spy - Ankesh - 11-07-2012

have you tried using the "enabled" property?


RE: Disabled Webelement is showing up as Visible =True in GUI Spy - Shwethareddy - 11-07-2012

Hi Ankesh,

U mean the GetRoproperty("Enabled")?
i guess these fields are taking grid properties as they are a part of the grid.


RE: Disabled Webelement is showing up as Visible =True in GUI Spy - Ankesh - 11-07-2012

Yes. I meant that only.

post a screenshot of object spy and application.