Partager via


StringAssertCondition Enumeration

Indicates the relationship between the expected value and the actual string value.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Enumeration StringAssertCondition
public enum StringAssertCondition
public enum class StringAssertCondition
type StringAssertCondition
public enum StringAssertCondition

Members

Member name Description
Contains The actual value contains the expected value.
DoesNotMatch The values do not match.
EndsWith The actual value ends with the expected value.
Matches The values match.
StartsWith The actual value starts with the expected value.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITest.Common Namespace