Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve JavaScript event handling #5

Open
rbri opened this issue Oct 25, 2021 · 1 comment
Open

Improve JavaScript event handling #5

rbri opened this issue Oct 25, 2021 · 1 comment

Comments

@rbri
Copy link
Member

rbri commented Oct 25, 2021

% migrated from trac

By now the JavaScript event handling is pretty puristic. Mostly because of HtmlUnit but I think there are also some points were the Wetator can do better.

@rbri
Copy link
Member Author

rbri commented Oct 25, 2021

I have created some tests executing the currently supported actions in Wetator and asserting the correct JavaScript? events. These tests are browser dependent so I created them for FF3.6, IE6 and IE8 so far. I do not have an IE7 right now so I can not create tests for it.

The following tests are created:

  • for action 'Click On' with asserts for events 'mousedown', 'mouseup', 'click' and 'focus'
  • for action 'Mouse Over' with asserts for events 'mousemove' and 'mouseover'
  • for action 'Select' with asserts for events 'mousedown', 'mouseup', 'click', 'change' and 'focus'
  • for action 'Deselect' with asserts for events 'mousedown', 'mouseup', 'click', 'change' and 'focus'

The following tests are missing:

  • for action 'Set'
  • asserts for events 'mouseout', 'blur', 'select', 'keydown', 'keyup' and 'keypress'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant