Completed
Last Updated: 26 Feb 2014 15:16 by ADMIN
ADMIN
Boyan Boev
Created on: 15 Jan 2014 08:49
Type: Bug Report
0
HtmlStyleColorAndBackground.BackgroundColor returns null instead of value in FireFox
Using Telerik Testing Framework:

ActiveBrowser.NavigateTo("http://www.telerik.com/");
HtmlControl con = ActiveBrowser.Find.ById<HtmlControl>("telerik-navi");
con.AssertStyle().ColorAndBackground(HtmlStyleColorAndBackground.BackgroundColor, "#21242C");

This code doesn't work in FireFox.
1 comment
ADMIN
Daniel Djambov
Posted on: 26 Feb 2014 15:15
Telerik: The issue is fixed and solution will be available in our next latest internal build planned by the end of Feb 2014. 

Note: as the Telerik site changed in the meanwhile, the new code to use should be:
ActiveBrowser.NavigateTo("http://www.telerik.com/");
var con = ActiveBrowser.Find.ById<HtmlControl>("js-bar");
con.AssertStyle().ColorAndBackground(HtmlStyleColorAndBackground.BackgroundColor, "#FFFFFF");