ValidationLevel Enumeration

Used to identify the importance of a validation rule that is run in a load test.

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


Public Enumeration ValidationLevel
Dim instance As ValidationLevel
public enum ValidationLevel
public enum class ValidationLevel
public enum ValidationLevel


Member name Description
Low Load test invokes validation rules with a Low setting. This equals 0.
Medium Load test invokes validation rules with a Low or Medium setting. This equals 1.
High Load test invokes all validation rules. This equals 2.


These enumeration values are ordinal so that they may be compared in code by "less than" and "greater than" operators. ValidationLevel is used in load tests to determine which validation rules are run.

See Also


Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

How to: Add a Validation Rule to a Web Test

How to: Create a Custom Validation Rule