开发者

Selenium not finding LiveValidation text

I am using the Selenium IDE to test some of my web development. I am using the JQuery LiveValidation in my code. I have an input box with some javascript behind it that will do a regular expresson and either ouput "OK" or "Error" next to the input text box based on what the user has entered.

For some reason when testing with selenium the LiveValidation will not get triggered no matter开发者_高级运维 what I do and therefore I can not test it. When I do it manually it works great. Has anyone run into this problem before? Any help would be appreciated.


This sounds like you are using the Type. The type command dumps text into an input box. Try using the KeyPress instead as that tries to synthesize a user doing keypresses.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜