This is a migrated thread and some comments may be shown as answers.

how to access wpf app, when it is minimized in system tray

1 Answer 125 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Werner
Top achievements
Rank 1
Werner asked on 27 Jul 2011, 12:15 PM
Hello,

I'm using vs2010 
Webaii 2011.1.502.0
Windows 7

situation:
In my testscenario I launch an WPF app and then Login
after the login the app is minimized to the system tray as an Icon.

Question:

How can I get access to the menu of our app in the system tray? 
And how can I activate a menu item?

Thanks,

Werner

1 Answer, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 27 Jul 2011, 11:29 PM
Hi Werner,

Most test steps against HTML-based web applications don't use the mouse or keyboard. Instead they are able to inject Click or Select events against the element in question (e.g. a button or drop-down select). Unfortunately Silverlight and WPF applications do not allow Test Studio to inject these events. We have to simulate system wide mouse moves, clicks, and key presses instead.

This is why I do not believe automating your WPF app while it's minimized to the system tray is possible through our Framework. The app must be visible in its normal window state for test execution to function properly. When minimized, there is no window for Test Studio to act upon.

Best wishes,
Anthony
the Telerik team
Check out the Test Studio roadmap to find out more about the new performance testing functionality coming in our R2 2011 release this September!

Have you looked at the new Online User Guide for Telerik Test Studio?
Tags
General Discussions
Asked by
Werner
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Share this question
or