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 enum ValidationLevel

Member nameDescription
LowLoad test invokes validation rules with a Low setting. This equals 0.
MediumLoad test invokes validation rules with a Low or Medium setting. This equals 1.
HighLoad 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.

Community Additions