Open hassanuz opened 6 years ago
I am using WinAppDriver to automate MS word running on a remote machine
We are exploring it for automated testing of a WinForms app and integration tests xamarin mobile <-> WinForms app.
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.
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.
I am using WinAppDriver to automate WPF app
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.
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.
Fascinating, thanks for the detailed info @brett-burkhart.
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).
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.
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
Hooray
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.
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.
I'm currently trying to put a basic layer of UI testing on a legacy WinForms application.
fwiw
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:
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!