ValidationRuleFindText Class
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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
public class ValidationRuleFindText extends ValidationRule
public class ValidationRuleFindText extends 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.


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