StringAssertAction Constructor (UITechnologyElement, String, String, StringAssertCondition, StringComparison)
Collapse the table of content
Expand the table of content

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.
expectedValue
Type: System.String
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.

Community Additions

ADD
Show:
© 2016 Microsoft