Team Test API
Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace
The Microsoft.VisualStudio.TestTools.WebTesting.Rules namespace contains a set of rules used by Web tests to test Web pages. These rules provide Web tests a set of tools to test the content of Web pages. Additionally, custom rules can be created to extend the functionality of Web tests. Rules are identified by two categories: extraction rules and validation rules. Extraction rules find content in Web pages and adds the information to the context which can be passed to future requests. Validation rules test for the existence of content.
Reference
Other Resources