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

  • expectedValue
    Type: System.String

    The expected value of the property as a string.

  • type
    Type: System.Type

    A 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