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.PassIfTextFound Property


Gets or sets a value that indicates whether to pass or fail the test if it is found or not.

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

public bool PassIfTextFound { get; set; }

Property Value

Type: System.Boolean

true if the test passes when the text is found; otherwise, false if the test passes when the text is not found. The default is true.

Return to top