Freigeben über


AssertAction-Konstruktor (UITechnologyElement, String, String, AssertCondition, Type)

Initialisiert eine neue Instanz der AssertAction-Klasse.

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

Syntax

'Declaration
Public Sub New ( _
    uiElement As UITechnologyElement, _
    propertyName As String, _
    expectedValue As String, _
    propertyCondition As AssertCondition, _
    type As Type _
)
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 function AssertAction(
    uiElement : UITechnologyElement, 
    propertyName : String, 
    expectedValue : String, 
    propertyCondition : AssertCondition, 
    type : Type
)

Parameter

  • propertyName
    Typ: String

    Der Name der Eigenschaft.

  • expectedValue
    Typ: String

    Der erwartete Wert der Eigenschaft als Zeichenfolge.

  • type
    Typ: Type

    Ein Type, der den Typ des Eigenschaftswerts angibt.

.NET Framework-Sicherheit

Siehe auch

Referenz

AssertAction Klasse

AssertAction-Überladung

Microsoft.VisualStudio.TestTools.UITest.Common-Namespace

UITechnologyElement

AssertCondition