question

ChrisB avatar image
ChrisB asked ChrisB posted

Supported events for Web.fireEvent?

I'm trying to send a keyup event using Web.fireEvent, but it doesn't seem to work. The webapp I'm testing performs validation on a userName field every time a keyup event is sent (onkeyup="..."). It works when tesitng manually, but not when I automate it.

 

Is keyup supported? What events are/are not supported?

 

Regards,

chris

iTestGUI Testing(Web-Java Swing-etc)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
PreetS avatar image
PreetS answered PreetS posted

I am afraid events that require a parameter to be passed in will not work. 

So a keyup can be fired but there is no way at the moment to support information about the key codes and various masks like if shift was pressed or not.  

 

This would be a great feature enhancement 

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

JeffJ avatar image JeffJ ♦ commented ·

Need to refresh this conversation.

 

I'm currently trying to do the same thing as Chris.  The webpage requires me to use a filterbox that's created from javascript.  The script requires a "keyup" for the filter to activate.  Is there a way to create the keyup event?  The "fireEvent" action does not appear to support "keyup".

 

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.