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.

StringAssertAction Constructor (UITechnologyElement^, String^, String^, StringAssertCondition, StringComparison)

 

Initializes a new instance of the StringAssertAction class.

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

public:
StringAssertAction(
	UITechnologyElement^ uiElement,
	String^ propertyName,
	String^ expectedValue,
	StringAssertCondition propertyCondition,
	StringComparison comparison
)

Parameters

uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::UITechnologyElement^

A UITechnologyElement object.

propertyName
Type: System::String^

The name of the string property.

propertyValue

The value of the property.

propertyCondition
Type: Microsoft.VisualStudio.TestTools.UITest.Common::StringAssertCondition

A member of the StringAssertCondition enumeration that specifies the results of the assertion comparison.

comparison
Type: System::StringComparison

A member of the StringComparison enumeration that specifies how strings are compared.

Return to top
Show: