WinAppDriver: WinAppDriver does not work with WPF/WinForms applications
DesiredCapabilities appCapabilities = new DesiredCapabilities(); appCapabilities.SetCapability("app", @"C:\myWPFApp.exe"); NotepadSession = new IOSDriver<IOSElement>(new Uri(AppDriverUrl), appCapabilities);
On the third line it starts my app and just hangs. But with Native Win32/UWP applications driver creates correctly and quickly.
Is there a way to prevent driver from hanging when starting WPF/WinForm applications?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 26 (6 by maintainers)
I’ve reproduced the bug. Thanks for filing this. We’re investigating.
Please let us know when can we expect the fix for wpf applications (as winappdriver doesnt work for wpf app currently) . Today is Nov 30, was expecting the new release today. Please provide us the fix ASAP as this is blocker for us
This is not a workaround… I suggest nightly build drops to be provided as well. Yes, it’s beta and all but having these beta versions plus nightly builds gives me and my team the benefit to integrate this thing faster within our organization. This might lead to more issues, which is not necessarily a bad thing. Nevertheless, blockers like this issue will be fixed and delivered much faster. Nightly builds => more immediate feedback => less blockers => more users => stronger community => even more feedback => better quality.
Thanks for your patience. We’re trying to get a release out by EOD today.
I would also like to know when we can expect a fix for this or a workaround so we can start experimenting.