Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Validate Method
Collapse the table of content
Expand the table of content

ValidationRuleFindText.Validate Method

Validates the existence of a string that is defined by FindText in the HtmlDocument.

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

Public Overrides Sub Validate ( _
	sender As Object, _
	e As ValidationEventArgs _


Type: System.Object

The source of the event.

Type: Microsoft.VisualStudio.TestTools.WebTesting.ValidationEventArgs

A ValidationEventArgs that contains the event data.

Validate operates on the WebTestResponse to find the existence of a string in the HTML body.

© 2015 Microsoft