HtmlInputNumber working example, please.

2 posts, 0 answers
  1. Lauren
    Lauren avatar
    7 posts
    Member since:
    May 2016

    Posted 12 Dec 2016 Link to this post

    Hello Telerik, 

    I am attempting to automate an HtmlInputNumber control. Can you please provide a working example of how this control can be automated?

    My company appears to be using the HtmlInputNumer control in this fashion: 

    1. 'Step up' (clicking up arrow in textbox UI) to a certain number

    2. This 'step up' action once clicked, enables another button on the page. 

    However, when I create the control using Telerik and attempt to use the HtmlInputNumberControl.StepUp(5) method - it only inputs the number, it doesn't enable any controls. So it appears that the step up control is not behaving as if it would truly behave in the UI. 



  2. Elena Tsvetkova
    Elena Tsvetkova avatar
    942 posts

    Posted 15 Dec 2016 Link to this post

    Hello Lauren,

    I suspect that the behavior you observe is specific for the application you are automating. I would like to ask you to provide us a sample app or at least a snippet of the html code that represents the control as it is built for your environment. A sample test including your approach to automate the required actions will be also helpful to us. 

    Thank you in advance for your cooperation! 

    Elena Tsvetkova
    Telerik by Progress
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top