Udostępnij za pośrednictwem


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

Inicjuje nowe wystąpienie AssertAction klasy.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITest.Common
Zestaw:  Microsoft.VisualStudio.TestTools.UITest.Common (w Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Składnia

'Deklaracja
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
)

Parametry

  • expectedValue
    Typ: System.String
    Spodziewana wartość właściwości jako ciąg znaków.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

AssertAction Klasa

Przeciążenie AssertAction

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Common

UITechnologyElement

AssertCondition