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)
Syntax
public AssertAction(
UITechnologyElement uiElement,
string propertyName,
string expectedValue,
AssertCondition propertyCondition,
Type type
)
public:
AssertAction(
UITechnologyElement^ uiElement,
String^ propertyName,
String^ expectedValue,
AssertCondition propertyCondition,
Type^ type
)
new :
uiElement:UITechnologyElement *
propertyName:string *
expectedValue:string *
propertyCondition:AssertCondition *
type:Type -> AssertAction
Public Sub New (
uiElement As UITechnologyElement,
propertyName As String,
expectedValue As String,
propertyCondition As AssertCondition,
type As Type
)
Parameters
propertyName
Type: System.StringThe name of the property.
expectedValue
Type: System.StringThe expected value of the property as a string.
propertyCondition
Type: Microsoft.VisualStudio.TestTools.UITest.Common.AssertConditionA member of the AssertCondition enumeration.
type
Type: System.TypeA Type that indicates the type of the property value.
See Also
UITechnologyElement
AssertCondition
AssertAction Overload
AssertAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace
Return to top