Testing WPF applicaiton without main form

2 posts, 0 answers
  1. Nick
    Nick avatar
    1 posts
    Member since:
    Dec 2013

    Posted 08 Feb 2015 Link to this post

    I have WPF application that doesn't launch a form on start. The application does have a presence in System Tray and user can interact and open new windows using menu from there.
    I've create a new WPF test in Test Studio pointing to the executable of my app. When I press record my application launches (I can see splash screen and icon appears in system tray), but Test Studio just hangs. Any advice? 
  2. Cody
    Cody avatar
    3354 posts

    Posted 10 Feb 2015 Link to this post

    Hi Nick,

    I don't think Test Studio can handle such an application at this time. It expects there to be a main window for it to attach our recorder to. Without a main window I can see it will hang waiting for that main window to open. In your case it never opens thus it would hang indefinitely.

    Can you send us a sample WPF application that behaves this way? I'd like to create a feature request on this and attach your sample WPF application to it for our developers to work with.

    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top