question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

WinAppDriver does not work with WPF/WinForms applications

See original GitHub issue

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?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:26 (6 by maintainers)

github_iconTop GitHub Comments

5reactions
yodurrcommented, Oct 31, 2016

I’ve reproduced the bug. Thanks for filing this. We’re investigating.

3reactions
viji-123commented, Nov 30, 2016

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

WinAppDriver/Docs/FAQ.md at master
Supports virtually all Windows 10 applications, including UWP, WPF, WinForms, and legacy Win32. How does WinAppDriver relate to Appium? Though WinAppDriver can ......
Read more >
WinAppDriver and Desktop UI Test Automation
Windows Application Driver. WinAppDriver is a test framework developed by Microsoft as an open source project, it's an implementation of Appium ...
Read more >
Automate UI testing with WinAppDriver – now supporting Pen ...
Windows Application Driver (WinAppDriver) is continuing Microsoft's investment in UI test automation tools for Windows 10, and now, ...
Read more >
Is WinAppDriver works only with the applications which are ...
Yes, WinAppDriver is supported on machines running Windows 10 (Home and Pro) and Windows Server 2016.
Read more >
Introduction to Windows Application Driver an Selenium like ...
In this video we will discuss about an Introduction to Windows Application Driver an Selenium like tools to test UWP, WPF, WinForms, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found