Posted 10 Feb 2013 Link to this post
Posted 11 Feb 2013 Link to this post
ActiveBrowser.NavigateTo(
"http://www.gmail.com"
);
HtmlInputSubmit btn = Find.ById<HtmlInputSubmit>(
"signIn"
String fSize = btn.GetComputedStyleValue(
"fontsize"
Log.WriteLine(fSize);
"font-size"
Posted 14 Feb 2013 Link to this post
System.Threading.Thread.Sleep(2000);
ActiveBrowser.RefreshDomTree();
HtmlControl btn = Find.ByName<HtmlControl>(
btn.AssertStyle().Font(ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts.HtmlStyleFont.Size,
"13px"