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

Testing WPF applicaiton without main form

1 Answer 27 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nick
Top achievements
Rank 1
Nick asked on 08 Feb 2015, 03:55 PM
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? 

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 10 Feb 2015, 10:14 PM
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.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Nick
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or