Condividi tramite


Costruttore AssertAction (UITechnologyElement, String, String, AssertCondition, Type)

Inizializza una nuova istanza di AssertAction classe.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITest.Common
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Sintassi

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

Parametri

  • expectedValue
    Tipo: System.String
    Il valore previsto della proprietà come stringa.
  • type
    Tipo: System.Type
    In Type che indica il tipo del valore della proprietà.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

AssertAction Classe

Overload AssertAction

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Common

UITechnologyElement

AssertCondition