-
Notifications
You must be signed in to change notification settings - Fork 12
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
Issue with Key Up Key Down events in test application #152
Comments
Thanks for you PR i think this shows the issue here in detail. Yes Issue 67 was about unity that keyboard events was not triggered. We only send all command to FlaUI C# Keyboard implementation. I will recheck if any bug on robotframework wrapper side is made. From issue 67 the last information was that the Keyboard implemention from FlaUI has to be adjusted probably a fix is done because i not recheck the library changes.
|
i have retested WPFtestapp manually with the keyboard it seems the app itself has some issues. |
Reproductions steps are. |
After verification and mentioned noubars text. OnKeyDown event is only triggered once by key operations. Current implementation handles all keyboard interaction by window from test application. But i found a wpf issue here : https://stackoverflow.com/questions/1646998/up-down-left-and-right-arrow-keys-do-not-trigger-keydown-event Currently it's shows that the wpf testing application contains a bug on this side. |
Thanks a lot! I'll work on it ASAP |
I updated to ignore case in the key up / down test case. What do you think about the changed event displaying? |
I think you have done it very well My concern is though this press_only or up_only feature currently works only with keys starting with s'SOMEKEY' but not with text t'SOMETEXT'. And there is no code implemented to prevent it. As example error message saying you cannot use press_only or up_only feature with text. |
Thanks for your input. I added the check and error message for text pattern and updated the changelog. |
Summary
In the test application "WpfApplication.exe" in the "Keyboard Controls" tab,
the Keyboard Down Events label does not work for some keys. E.g. Arrow Keys
(The Keyboard Up Events work)
Steps to reproduce
The Keyboard Up Events displays everything correctly for me.
Did anyone else experience this behavior?
I wrote a test case to check the behavior.
I used the latest release 3.0.0
The text was updated successfully, but these errors were encountered: