ValidateFormField Class

Validates the name and value of a form field attribute.

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

Syntax

'Declaration
Public Class ValidateFormField _
    Inherits ValidationRule
'Usage
Dim instance As ValidateFormField
public class ValidateFormField : ValidationRule
public ref class ValidateFormField : public ValidationRule
public class ValidateFormField extends ValidationRule

Remarks

This validation rule validates form fields that have a Name that contains the value specified with ExpectedValue.

Inheritance Hierarchy

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

Thread Safety

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

See Also

Reference

ValidateFormField Members

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace