Condividi tramite


Costruttore StringAssertAction (UITechnologyElement, String, String, StringAssertCondition, StringComparison)

Inizializza una nuova istanza di StringAssertAction 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 StringAssertCondition, _
    comparison As StringComparison _
)
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 function StringAssertAction(
    uiElement : UITechnologyElement, 
    propertyName : String, 
    expectedValue : String, 
    propertyCondition : StringAssertCondition, 
    comparison : StringComparison
)

Parametri

  • propertyName
    Tipo: System.String
    Il nome della proprietà della stringa.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

StringAssertAction Classe

Overload StringAssertAction

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

UITechnologyElement

StringAssertCondition

StringComparison