|October 18, 2010|
Using Webaii, here's how to validate that an image is loading correctly on a page:
// Validate Image on Page
Assert.IsNotNull(Find.ByAttributes<HtmlImage>("src=~logo.gif"), "Logo Image is not on the page");
Very useful to have as a code snip.
Feel free to leave a comment about this post.