I am currently working on automated ui testing using the MS ui atomation library in combination with the project white libraries. So far the basic screens tests work smoothly but I encountered the following problem:
I wanted to write a test for all shortcuts which are currently present in the application. The application itseld uses WPF and WPF commands. I am correct using window.Keyboard (AttachedKeyboard) I can only execute key gestures on the main window. Some routed
commands are defined on sub panels of my main window and somehow (even if the focus is set correctly) not reached by my keayboard inputs (e.g. CTRL+N or CTRL+S). Is it possible to get an keyboard object for a panel or other control?
If I execute the shortcuts manually they work fine ...