We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

ValidationRuleFindText Class

Validates that the specified text exists or does not exist in the text response.

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

public class ValidationRuleFindText : ValidationRule

Validation rules are executed just after the request is complete. These rules are intended to verify that the request not only returned a valid HTTP response, but the contents of the response matched the expected result.

System.Object
  Microsoft.VisualStudio.TestTools.WebTesting.ValidationRule
    Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidationRuleFindText

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