Share via


HtmlDocument Class

Provides access to the set of HTML tags in an HTML response body.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class HtmlDocument
'Usage
Dim instance As HtmlDocument
[SerializableAttribute]
public class HtmlDocument
[SerializableAttribute]
public ref class HtmlDocument
public class HtmlDocument

Remarks

This is used by extraction and validation rules to access the contents of an HTML document.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.HtmlDocument

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

HtmlDocument Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

Working with Web Tests