AssertAction Constructor (UITechnologyElement, String, String, AssertCondition, Type)

Initializes a new instance of the AssertAction class.

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

public AssertAction(
	UITechnologyElement uiElement,
	string propertyName,
	string expectedValue,
	AssertCondition propertyCondition,
	Type type
)

Parameters

uiElement
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
A UITechnologyElement.
propertyName
Type: System.String
The name of the property.
expectedValue
Type: System.String
The expected value of the property as a string.
propertyCondition
Type: Microsoft.VisualStudio.TestTools.UITest.Common.AssertCondition
A member of the AssertCondition enumeration.
type
Type: System.Type
A Type that indicates the type of the property value.

Community Additions

ADD
Show: