October 19, 2010

WebAii InnerMarkup

Using WebAii and this code snip to search the HTML source of a page for some data:

// Check for value of a InnerMarkup
string TextString = ActiveBrowser.Find.ByAttributes("id=content").InnerMarkup.ToString();
StringAssert.Contains(TextString, "Company Name");


Add your Comments

Feel free to leave a comment about this post.

- Feel Free to add HTML to your comment!