Kendo Input

4 posts, 0 answers
  1. Naga
    Naga avatar
    15 posts
    Member since:
    Apr 2012

    Posted 29 Jun 2012 Link to this post

    Hello Pls give an example to work with Kendo Input.
  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 04 Jul 2012 Link to this post

    Hi Naga,

    The Kendo Input control is the base control for most of the Kendo UI controls such as:
        - Kendo AutoComplete
        - Kendo ComboBox 
        - Kendo DropDownList
        - Kendo DatePicker
        - Kendo TimePicker
        - Kendo NumericTextBox


    The base class for all of these controls is the KendoInput class. However in order to use their full functionality you need to cast them to their extended classes.

    For example, you can type in the KendoNumericTextBox using only the base class with code like this:
     
    KendoInput textBox = ActiveBrowser.Find.ByExpression<KendoInput>("class=k-widget k-numerictextbox");
     
    textBox.TypeText("50");

    But in order to increase or decrease the value entered in the text box, you need to use methods like SpinUpClick() and SpinDownClick(). These methods are not available in the base KendoInput class, so you need to either cast the KendoInput to KendoNumericTextBox or use the following code to find it as such:
    KendoNumericTextBox textBox = ActiveBrowser.Find.ByExpression<KendoNumericTextBox>("class=k-widget k-numerictextbox");
    Hope this helps!

    Kind regards,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Naga
    Naga avatar
    15 posts
    Member since:
    Apr 2012

    Posted 17 Jul 2012 Link to this post

    Hello:
           There is no translator available for Kendo Input control to slect values from a list box.Can you please help us in this regard.
  4. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 17 Jul 2012 Link to this post

    Hi Naga,

    The KendoInput translator will be included in our next official SP2 release, which should be released at the end of this week. 

    I have recorded this short video to demonstrate how the KendoInput translator works with our latest internal build. We'll also introduce an InputText property, that you can use for data-driven scenarios as seen in this video

    Kind regards,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top