Share via


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)

Syntax

public StringAssertAction(
    UITechnologyElement uiElement,
    string propertyName,
    string expectedValue,
    StringAssertCondition propertyCondition,
    StringComparison comparison
)
public:
StringAssertAction(
    UITechnologyElement^ uiElement,
    String^ propertyName,
    String^ expectedValue,
    StringAssertCondition propertyCondition,
    StringComparison comparison
)
new : 
        uiElement:UITechnologyElement *
        propertyName:string *
        expectedValue:string *
        propertyCondition:StringAssertCondition *
        comparison:StringComparison -> StringAssertAction
Public Sub New (
    uiElement As UITechnologyElement,
    propertyName As String,
    expectedValue As String,
    propertyCondition As StringAssertCondition,
    comparison As StringComparison
)

Parameters

  • propertyName
    Type: System.String

    The name of the string property.

  • propertyValue
    The value of the property.

See Also

UITechnologyElement
StringAssertCondition
StringComparison
StringAssertAction Overload
StringAssertAction Class
Microsoft.VisualStudio.TestTools.UITest.Common Namespace

Return to top