Micro Focus QTP (UFT) Forums
how to verify the change of color pattern on button click (.net + infragistics) - DP - 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: how to verify the change of color pattern on button click (.net + infragistics) - DP (/Thread-how-to-verify-the-change-of-color-pattern-on-button-click-net-infragistics-DP)



how to verify the change of color pattern on button click (.net + infragistics) - DP - quest_prima - 10-27-2010

Hi

We are working on th einfragistic controls(.net). Is there any method or property that recognises the color change(toggles between grey and orange) of the button on click.


Thanks in advance.


RE: how to verify the change of color pattern on button click (.net + infragistics) - DP - KVK - 10-27-2010

Hi,

Try this

Object.currentStyle.backgroundColor

- Vinod


RE: how to verify the change of color pattern on button click (.net + infragistics) - - A.Saini - 10-27-2010

Hi Prima,

Descriptive Programming is 'A Silver Bullet' in such type of cases.
Check the properties of the object using object spy to evaluate the effect of any operation. After that you can perform the respective operation on that object.
For Ex: In your case the property you should look for is 'Color'.

Smile