New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.WebAii.Controls

Assembly:ArtOfTest.WebAii.dll

Type Parameters:

T

Syntax:

C#
public abstract class BaseControlAssert<T> where T : Control

Inheritance: objectBaseControlAssert<T>

Derived Classes: AssertAttributeAssertCheckAssertContentAssertSelectAssertStyleAssertTableKendoControlAssertRadControlAssert...

Constructors

C#
public BaseControlAssert()
C#
public BaseControlAssert(T control)
Parameters:controlT

Fields

C#
protected static readonly string NotFound

Properties

C#
public T Target { get; set; }

Methods

C#
protected bool Assert(bool condition, string message, string expected, string actual, bool throwAssert)
Parameters:conditionboolmessagestringexpectedstringactualstringthrowAssertboolReturns:

bool

C#
protected bool Assert(bool condition, string message, string expected, string actual)
Parameters:conditionboolmessagestringexpectedstringactualstringReturns:

bool

C#
protected bool AssertNumber(int leftPortion, int rightPortion, NumberCompareType compareType, bool throwOnFailure = true)
Parameters:leftPortionintrightPortionintcompareTypeNumberCompareTypethrowOnFailureboolReturns:

bool

C#
protected bool AssertString(string expected, string actual, StringCompareType compareType, bool throwOnFailure = true)
Parameters:expectedstringactualstringcompareTypeStringCompareTypethrowOnFailureboolReturns:

bool

C#
public static bool NumberCompare(int leftPortion, int rightPortion, NumberCompareType compareType)
Parameters:leftPortionintrightPortionintcompareTypeNumberCompareTypeReturns:

bool

C#
public static bool NumberCompareRange(int number, int lowerEnd, int upperEnd, NumberRangeCompareType compareType)
Parameters:numberintlowerEndintupperEndintcompareTypeNumberRangeCompareTypeReturns:

bool

C#
public static bool StringCompare(string a, string b, StringCompareType compareType)
Parameters:astringbstringcompareTypeStringCompareTypeReturns:

bool