ClassKendoInput
KendoInput control.
Definition
Namespace:Telerik.TestingFramework.Controls.KendoUI
Assembly:Telerik.TestingFramework.Controls.KendoUI.dll
Syntax:
public class KendoInput : KendoUIContainerControlBase
Inheritance: objectControlHtmlControlHtmlContainerControlKendoUIContainerControlBaseKendoInput
Derived Classes:
Inherited Members
Constructors
KendoInput()
Initializes a new instance of the KendoInput class.
Declaration
public KendoInput()
KendoInput(Element)
Initializes a new instance of the KendoInput class.
Properties
ClientId
Get the client Id of the input control. Applies for ComboBox, DropDownList, NumericTextBox
ClientSideLocator
Get the Client side locator.
Declaration
public override string ClientSideLocator { get; }
Property Value
Overrides
DateString
Gets date string for date input control.
Format
Get input format if any.
InputText
Get or set the client-side input text.
Declaration
public string InputText { get; set; }
Property Value
The input text.
InputType
Get the Input control type - TextBox, NumericTextBox, DateInput, MaskedTextBox.
Declaration
public KendoInputControlType InputType { get; }
Property Value
InputValue
Get or set the client-side input value.
Declaration
public string InputValue { get; set; }
Property Value
The input value.
Methods
AssignElement(Element)
Assign element and initialize this control.
Declaration
public override void AssignElement(Element e)
Parameters
e
The element.
Overrides
InitializeMatchExpression()
Initializes the control match expression pattern used to identify an element as a specific control.
Declaration
protected override void InitializeMatchExpression()
Overrides
SetObjectToInputValue(string)
Update input value with object generated from a script.
Declaration
public void SetObjectToInputValue(string objectGenratorScript)
Parameters
objectGenratorScript
Script that will generate an object.
ToggleCalendar()
Opens/closes the calendar (DatePicker, DateTimePicker)
Declaration
public void ToggleCalendar()
ToggleCombo()
Opens/closes the calendar (DatePicker, DateTimePicker)
Declaration
public void ToggleCombo()
ToggleTimePicker()
Opens/closes the TimePicker of an input (DateTimePicker)
Declaration
public void ToggleTimePicker()
TypeText(string)
Types text into the input.
Declaration
public void TypeText(string valueTyped)
Parameters
valueTyped
The text to be typed.
TypeText(string, int)
Types text into the input. KeyHoldTime internally set to 50.
TypeText(string, int, int)
Types text into the input.