Background color - 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: Background color (/Thread-Background-color) |
Background color - globallogic - 01-22-2008 Scenario: I have to capture the screen background color on my project application.There are 7 navigations and all the 7 pages have different background color. What I followed: I object spied on all the screens and was unable to find the test object property as bgcolor for my project application.(Using Getroproperty) Hence, I am unable to capture the same. Or is there any other way where I could capture this detail RE: Background color - Ankur - 01-22-2008 Have you tried Browser().Page.XXXX.YYYY.object.color ? RE: Background color - globallogic - 01-22-2008 no...still cant RE: Background color - Ankur - 01-28-2008 ok this might have to do with the CSS... use object.currentstyle.color or object.currentstyle.bordercolor (Tip: Name of the defined color which the developer has given can be found from the View Source of web page.) |