Micro Focus QTP (UFT) Forums
Capturing color in a webpage - 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: Capturing color in a webpage (/Thread-Capturing-color-in-a-webpage)



Capturing color in a webpage - kriday - 06-26-2013

I have a web page which contains 2 parts. 1 part contains personal information and 2 part contains work information. now when I keep the mouse in part 1 its background color changes from its original color and also button(if there are any in that part) color also changes. same thing happens for the part 2. how can I test this in qtp

Please I need help in this. Thanks in advance.


RE: Capturing color in a webpage - Ankur - 06-27-2013

Use Object spy and use the corresponding property to test the background, hover colors etc.