views:

22

answers:

1

Hi,

I am trying to simulate a keypress for enter key in selenium using the below statement:

Selenium.KeyPressNative("10");

It works on my colleague's PC, but, doesn't seem to be executed in my machine. It appears that selenium skips this command.

Please help.

Thanks and Regards,
Vamyip

+1  A: 

should it be "13"

jed
um...tried 13 too. Didn't work for me. Thanks for reply
vamyip
Hey, it works now. Wonder why it did not work earlier. Thanks
vamyip