Navigate HTML Source while performing WatiN tests

Posted by youwhut on Stack Overflow See other posts from Stack Overflow or by youwhut
Published on 2010-03-19T15:07:01Z Indexed on 2010/03/19 15:31 UTC
Read the original article Hit count: 134

Filed under:
|

I am performing actions on the page during WatiN tests. What is the neatest method for asserting certain elements are where they should be by evaluating the HTML source? I am scraping the source but looking for a clean way to navigate the tags pulled back.

UPDATE: Right now I am thinking about grabbing certain elements within HTML source using regular expressions and then analysing that to see if other elements exist within. Other thoughts appreciated.

© Stack Overflow or respective owner

Related posts about c#

Related posts about watin