Micro Focus QTP (UFT) Forums
BACK GROUND COLOUR OF A PARTICULAR AREA IN A SEARCH WINDOW - 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 Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions)
+--- Thread: BACK GROUND COLOUR OF A PARTICULAR AREA IN A SEARCH WINDOW (/Thread-BACK-GROUND-COLOUR-OF-A-PARTICULAR-AREA-IN-A-SEARCH-WINDOW)



BACK GROUND COLOUR OF A PARTICULAR AREA IN A SEARCH WINDOW - remya - 11-21-2010

Hi,

In a Search window,have to search for a particular keyword and wants to check the background colour of the result listing Area...

Is there any option in QTP/in VB Script to find the background colour of that particular Area????

Thanks

Remya


RE: BACK GROUND COLOUR OF A PARTICULAR AREA IN A SEARCH WINDOW - bfakruddin - 11-24-2010

Hi,

is that windows application or Web application?

regards,
Baba


RE: BACK GROUND COLOUR OF A PARTICULAR AREA IN A SEARCH WINDOW - KavitaPriyaCR - 11-25-2010

Hi
To get background color of objects, we can write as below
Code:
Set check1=Browser("").Page("").WebEdit("name:=xyz").Object.CurrentStyle
msgbox check1.backgroundColor