Поделиться через


StringAssertAction - конструктор (UITechnologyElement, String, String, StringAssertCondition, StringComparison)

Инициализирует новый экземпляр класса StringAssertAction.

Пространство имен:  Microsoft.VisualStudio.TestTools.UITest.Common
Сборка:  Microsoft.VisualStudio.TestTools.UITest.Common (в Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Синтаксис

'Декларация
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
)

Параметры

  • propertyName
    Тип: System.String
    Имя строкового свойства.

Безопасность платформы .NET Framework

См. также

Ссылки

StringAssertAction Класс

StringAssertAction - перегрузка

Microsoft.VisualStudio.TestTools.UITest.Common - пространство имен

UITechnologyElement

StringAssertCondition

StringComparison