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


AssertAction - конструктор (UITechnologyElement, String, String, AssertCondition, Type)

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

Пространство имен:  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 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
)

Параметры

  • expectedValue
    Тип: System.String
    Ожидаемое значение свойства в виде строки.
  • type
    Тип: System.Type
    Объект Type, указывающий тип значения свойства.

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

См. также

Ссылки

AssertAction Класс

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

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

UITechnologyElement

AssertCondition