Hi everyone. I am unable to use the Set Text and Send Keys on some phone number fields. The test case runs but the fields are empty and the cursor is at the end of the "(___)___-____". Also, when I use the web recorder, it is not recording the fact that I am manually entering in a phone number, it just shows that I have clicked on the field. This field only allows numbers and I believe the "(___)___-____" inside the field has something to do with it.
Commendations for posting a detailed problem report.
However, we’re going to need even more information. Problem is, I’m not sure yet what exactly I need The other problem you have - the Recorder is highly unlikely to aid you in this case.
Guess: that Kendo/jQuery stuff is very likely what is causing your problem. I think it likely that calling the correct jQuery method will get you past the issue. I suggest you read the Kendo docs and find out the API you need to modify the input control’s value from code. Once you have that, post it (or a link to it) here and I’ll help you write the code to do the job.
Obviously, change the input value to whatever you want.
If normally “things happen” when a user types into the field, you may need to trigger an onchange handler. Hopefully, the code above should do the trick.
Any idea on how to select dropdowns using javaScript? The “select by…” actions do not work for the KendoDropDownList. I want to select the dropdown by their names (i.e. Passenger)