This topic has not yet been rated - Rate this topic

ExtractRegularExpression.Required Property

Gets or sets a value that indicates whether the extraction fails if the text represented by RegularExpression does not exist in the HtmlDocument.

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: Boolean
true if the request fails if the text represented by RegularExpression does not exist; otherwise, false. The default value is true.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.