This is a migrated thread and some comments may be shown as answers.

HtmlInputNumber working example, please.

1 Answer 10 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Lauren
Top achievements
Rank 1
Lauren asked on 12 Dec 2016, 09:45 PM

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. 

Thoughts? 

Lauren

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 15 Dec 2016, 12:51 PM
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! 

Regards,
Elena Tsvetkova
Telerik by Progress
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Lauren
Top achievements
Rank 1
Answers by
Elena
Telerik team
Share this question
or