Micro Focus QTP (UFT) Forums
How can we get the Windows application Text box background color Using UFT 11.53 - 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: How can we get the Windows application Text box background color Using UFT 11.53 (/Thread-How-can-we-get-the-Windows-application-Text-box-background-color-Using-UFT-11-53)



How can we get the Windows application Text box background color Using UFT 11.53 - Kuppampattu - 06-04-2014

Hi,

Currently I am working Window based application using UFT 11.53, In one of the my scenario we have to validate the text box back ground color .

Please let me know if anyone has any ideas that may help.


Thanks & Regards
Kuppampattu


RE: How can we get the Windows application Text box background color Using UFT 11.53 - Jay - 06-05-2014

see the below example which should help


Code:
Browser("Google").Page("Google").WebElement("India").Click

Set obj = Browser("Google").Page("Google").WebElement("India")

msgbox obj.Object.currentStyle.backgroundColor



RE: How can we get the Windows application Text box background color Using UFT 11.53 - Kuppampattu - 06-12-2014

Hi Joy,

Thanks for your mail .

Actually I am looking for window based application text box border color , My object is identifying as a winobject .
Can you please post me if you have any code related winobject border color.

Thanks & Regards
Kuppampattu


RE: How can we get the Windows application Text box background color Using UFT 11.53 - workrohit08 - 06-06-2017

(06-12-2014, 04:39 PM)Kuppampattu Wrote: Hi Joy,

Thanks for your mail .

Actually I am looking for window based application text box border color , My object is identifying as a winobject .
Can you please post me if you have any code related winobject border color.

Thanks & Regards
Kuppampattu

HiĀ Kuppampattu
Did you find a solution to this ?