WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

Poll: are you using WinAppDriver to automate Win32, WinForms, or WPF applications?

Open hassanuz opened this issue 6 years ago • 16 comments

The WinAppDriver Team would love to hear stories of how it's going using WinAppDriver to test specific types of apps!

To help, if you are testing one of these types of applications (Win32, WinForms, or WPF) could you tell us about your app and share any feedback on using WinAppDriver?

The following comment would be a good example:

"I am using WinAppDriver to automate my team's calendar program, which is a classic Win32 application".

If you wish to not share any information about your specific app, you can react to the following post specifying the platform. You can also send a direct email to [email protected] if you prefer to speak offline.

Thank you!

hassanuz avatar Mar 01 '18 23:03 hassanuz

  • Thumbs up for Classic Win32 apps
  • Laugh for WinForms apps
  • Hooray for WPF apps

hassanuz avatar Mar 01 '18 23:03 hassanuz

I am using WinAppDriver to automate MS word running on a remote machine

shankarkc avatar Mar 02 '18 09:03 shankarkc

We are exploring it for automated testing of a WinForms app and integration tests xamarin mobile <-> WinForms app.

savornicesei avatar Mar 02 '18 09:03 savornicesei

I find it handy when trying to automate some of the old legacy Silverlight web applications. However, using XPath predominantly slows down execution a lot as compared to other frameworks like Selenium and Appium.

vishnu45 avatar Mar 05 '18 05:03 vishnu45

Thanks for the replies! We'll keep this post open and check in regularly.

@vishnu45 interesting you bring up xpath. We're looking into the perf.

yodurr avatar Mar 07 '18 05:03 yodurr

I am using WinAppDriver to automate WPF app

vijayalakshmi-ml avatar Mar 07 '18 20:03 vijayalakshmi-ml

I am using WinAppDriver for automated testing our company's equities trading platform, primarily a WPF application with some legacy WinForms.

We are at the end of a proof-of-concept phase of integrating the use of Appium and WinAppDriver into an existing testing framework.

Our current set of tests, written in Python, automates and validates our back-end processes running on Linux . Our test runner executes these tests in a Linux environment. Our goal is to get end-to-end system integration test suites running, which leverage the existing back-end tests, to now additionally verify specific GUI test scenarios using the Appium Python Client Library to automate our WPF front-end application via WinAppDriver.

To better illustrate; the grey boxes represent the Linux environment while the yellow boxes represent the Windows 10 environment. image

It has been no small task to get our proof-of-concept test working to automate a simple login workflow. And it works! And it's very very cool to see it all working seamlessly across platforms. Our next steps are to get this concept running, and scaled, our on nightly CI test servers.

brett-burkhart avatar Mar 07 '18 21:03 brett-burkhart

Fascinating, thanks for the detailed info @brett-burkhart.

hassanuz avatar Mar 08 '18 01:03 hassanuz

I am evaluating WinAppDriver for end-to-end testing of our Win32 application. The only problem is the speed of the driver when dealing with an application with a large number of elements - locating the element using XPath expression is slow (#333).

kfrajtak avatar Mar 08 '18 14:03 kfrajtak

We evaluated it for WinForm app, but bcz of performance issues it was rejected.

SergKV avatar Mar 12 '18 11:03 SergKV

I am using WinAppDriver to test a custom WPF app, and a couple Office products in preparation for integrating it into our integrated test environment. At that point (assuming we can get buyoff on using Windows 10) we will be using it along side Selenium to automate business process flows that touch some WinForms apps, some WPF apps, and webpages.

PandaMagnus avatar Mar 12 '18 15:03 PandaMagnus

Intento utilizar WinAppDriver en C# para automatizar un ERP . El problema es la creación de controles personalizados que tiene el ERP .El inspect de windows 10 no reconoce los controles del ERP.
Que estrategia me sugieren ? Como crear un Framework ? Se puede Usar Page Object Model? Cual es la estructura de un Proyecto de WinAppDriver en visual studio? En el ERP tengo modulos Compras, Venta ,Contabilidad ,etc , como organizarlo en el codigo c#?

No uso Coded UI porque no reconoce los controles personalizados del ERP y la ejecución no responde siempre con certeza .

Espero me puedan orientar

juandedios199012 avatar Oct 26 '18 21:10 juandedios199012

Hooray

davidporter avatar Aug 01 '19 13:08 davidporter

We were using Coded UI to automate our Desktop based application which had mix of WPF and Win32 controls. We are now migrating our tests to WinAppDriver.

We are trying out ways to make minimum code changes and easily migrate to Coded UI, but I don't think we are able to achieve that.

anshul1goel avatar Feb 19 '20 05:02 anshul1goel

We use WinAppDriver to test a huge 3D engineering application (mostly WPF and little bit Win32) and WPF applications on embedded devices based with Windows 10 IoT. This is going to replace CodedUI and some homebrewn solutions.

SystemCheater avatar Feb 20 '20 11:02 SystemCheater

I'm currently trying to put a basic layer of UI testing on a legacy WinForms application.

fwiw

altrrdst8 avatar Apr 07 '22 17:04 altrrdst8