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

WPF app with Win32 Login Dialog

1 Answer 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Doug
Top achievements
Rank 1
Doug asked on 02 Sep 2014, 03:51 PM
I noticed that Test Studio has a dialog handler for Windows systems dialogs. It appears that his dialog handle step is only available in Web tests created with Test Studio. We are putting a Win32 Dialog login for our WPF app. I was wondering if there was any way to get the "Handle 'Logon" dialog" test step to work with a WPF test file. When I have a WPF Test open, the dialog handle options are only "Save File", "Open File" and "Generic" options.

Is there code to these dialog handlers that I could possibly use to code my own test step and handle it on my own? On the dialog handler steps, the options to "View Code" and "Customize Step in Code" are disabled.

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 05 Sep 2014, 01:27 PM
Hello Doug,

Our "Handle Logon Dialog" can only handle a logon dialog that looks like one of those on this documentation page. Before we venture into code to handle it (which technically is possible) we need to confirm that your particular logon dialog conforms to what our code is expecting so that we have a chance of being able to handle it.

The steps to handle a logon dialog in code are documented here. While it was written for web browser testing, the methodology is exactly the same. But instead of navigating to a URL you interact with your WPF application after running the code that adds the logon dialog handler.

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