microsoft / WinAppDriver

Windows Application Driver
MIT License
3.57k stars 1.39k forks source link

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

Open hassanuz opened 6 years ago

hassanuz commented 6 years ago

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 hassan.uraizee@microsoft.com if you prefer to speak offline.

Thank you!

hassanuz commented 6 years ago
shankarkc commented 6 years ago

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

savornicesei commented 6 years ago

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

vishnu45 commented 6 years ago

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.

yodurr commented 6 years ago

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.

vijayalakshmi-ml commented 6 years ago

I am using WinAppDriver to automate WPF app

brett-burkhart commented 6 years ago

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.

hassanuz commented 6 years ago

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

kfrajtak commented 6 years ago

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).

SergKV commented 6 years ago

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

PandaMagnus commented 6 years ago

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.

juandedios199012 commented 5 years ago

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

davidporter commented 4 years ago

Hooray

anshul1goel commented 4 years ago

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.

SystemCheater commented 4 years ago

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.

altrrdst8 commented 2 years ago

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

fwiw