I am trying to get the background color of an Webelement. Attached is the screenshot which is highlighted the spy seems not picking it up. I have done 'view source' of the page and tried to find out the colors but no luck. when highlighted with the spy it high lights the entire strip till the end of the (light brown) color. Could anyone suggest any alternatives?
If you do advanced search by key words:
background color - you would get it.
There are several different ways how page decoration written in html code.
One of them: when settings come from CSS(CascadingStyleSheet) - then used: object.CurrentStyle
Other way: when page attributes defined in the page directly or rengered from DevCode - then used:Object.Background
There are lot of another different approach in new world of WebDevelopment: AJAX, SilverLight and so on.
They use page attributes definision differently.
As Page code is different, retrieving those attributes should be different also in every perticular case.
You need to see how it's done in the page source code, or ask your Dev Guys and play with...