Selenium IDE Sendkeys() is not working

和自甴很熟 提交于 2019-12-11 12:03:57

问题


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.



来源:https://stackoverflow.com/questions/31964884/selenium-ide-sendkeys-is-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!