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

2 posts, 0 answers
  1. Werner
    Werner avatar
    8 posts
    Member since:
    Nov 2010

    Posted 27 Jul 2011 Link to this post

    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
  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 27 Jul 2011 Link to this post

    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?
Back to Top