Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public enum StringAssertCondition

Member nameDescription
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.

Return to top
Show: