MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ValidationRuleFindText::Validate Method (Object^, ValidationEventArgs^)

 

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:
virtual void Validate(
	Object^ sender,
	ValidationEventArgs^ e
) override

Parameters

sender
Type: System::Object^

The source of the event.

e
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.

Return to top
Show:
© 2016 Microsoft