Selenium IDE Sendkeys() is not working

2019-08-09 07:11发布

问题:

I am trying to create a script using Selenium IDE. Trying to enter phone number in the text box field, which accepts the number in the specified format as "(999) 999 - 999"

I have used Sendkeys function which doesn't works for this text box.

Is there anyway to enter numbers to this text box?

回答1:

After SendKeys Command. Can you try using fireEvent command. It will trigger the event for that particular control.