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.

ExtractText.Required Property


Gets or sets a value that indicates whether the request fails if the search text is not found.

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

public bool Required { get; set; }

Property Value

Type: System.Boolean

true if the extracted text is required; otherwise, false. The default is true.

The extraction will pass if Required is false.

Return to top