Class
KendoControlAssert

Represents the base class for assertion of RadControls wrappers.

Definition

Namespace:Telerik.TestingFramework.Controls.KendoUI

Assembly:Telerik.TestingFramework.Controls.KendoUI.dll

Syntax:

cs-api-definition
public class KendoControlAssert : BaseControlAssert<HtmlControl>

Inheritance: objectBaseControlAssert<HtmlControl>KendoControlAssert

Inherited Members BaseControlAssert<HtmlControl>.NotFoundBaseControlAssert<HtmlControl>.NumberCompareRange(int, int, int, NumberRangeCompareType)BaseControlAssert<HtmlControl>.NumberCompare(int, int, NumberCompareType)BaseControlAssert<HtmlControl>.StringCompare(string, string, StringCompareType)BaseControlAssert<HtmlControl>.AssertNumber(int, int, NumberCompareType, bool)BaseControlAssert<HtmlControl>.AssertString(string, string, StringCompareType, bool)BaseControlAssert<HtmlControl>.Assert(bool, string, string, string, bool)BaseControlAssert<HtmlControl>.Assert(bool, string, string, string)BaseControlAssert<HtmlControl>.Target

Constructors

KendoControlAssert()

Initializes a new instance of the RadControlAssert class.

Declaration

cs-api-definition
public KendoControlAssert()

KendoControlAssert(HtmlControl)

Initializes a new instance of the RadControlAssert class.

Declaration

cs-api-definition
public KendoControlAssert(HtmlControl control)

Parameters

control

HtmlControl

The target control to assert against.

Methods

DecimalValue(string, decimal, NumberCompareType)

Assert a decimal.

Declaration

cs-api-definition
public bool DecimalValue(string controlPropertyName, decimal expected, NumberCompareType compareType)

Parameters

controlPropertyName

string

The property name to get value of.

expected

decimal

The expected string.

compareType

NumberCompareType

The compare type.

Returns

bool

True/false whether the comparison works. Returns false if the property value is not of integer type.

NumberValue(string, int, NumberCompareType)

Assert a number.

Declaration

cs-api-definition
public bool NumberValue(string controlPropertyName, int expected, NumberCompareType compareType)

Parameters

controlPropertyName

string

The property name to get value of.

expected

int

The expected string.

compareType

NumberCompareType

The compare type.

Returns

bool

True/false whether the comparison works. Returns false if the property value is not of integer type.

StringValue(string, string, StringCompareType)

Assert a string.

Declaration

cs-api-definition
public bool StringValue(string controlPropertyName, string expected, StringCompareType compareType)

Parameters

controlPropertyName

string

The property name to get value of.

expected

string

The expected string.

compareType

StringCompareType

The compare type.

Returns

bool

True/false whether the comparison works.