-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
State of WinAppDriver #1371
Comments
Hello, I hope you do your best to bring back the dev resources to WinAppDriver asap. It seems like there's a memory-leak-related bug in WinAppDriver which I think it's very critical, and it has been around for almost 2 years but has not been knocked out. Thanks. |
Hi @kat-y!
Thanks and Good Luck! |
thanks for the update |
I have around 200 test cases implemented with WAD, but off late I am started observing after running for 3 to 4 hours the send keys API starts behaving weirdly, the API is not disposed properly even after driver.quit. its starts sending weird characters. |
Also it will be good to have logs with time stamp as the console logs are not very helpful. |
Thanks for the update, hope to see resources here soon! I would suggest running through the open pull requests and merging the ones that still make sense to start cleaning up this github. The issues tab will be its own beast 😟 |
@kat-y, looking for information regarding the publicly available Microsoft.WinAppDriver.Appium.WebDriver NuGet package.
I did attempt to research open/closed GitHub issues and the Wiki/FAQ although I had not come across information regarding when or how to use the NuGet package verse installing the GitHub release. Any information would be greatly appreciated and I'm very excited about all the recent activity behind this project and what it will produce for the community. |
Hi @kat-y Could you please look into below issues- #507 #1357 #1378 #1361 #975 #1103 More enhancements but i have not opened any issues for these - |
Highest priority for me would be the issue with processId not found. It seems for me that this is a general windows problem which might get compensated whith some internal knowledge. I recognized for some application (e.g. calc.exe) that even if i start the ".exe" programmatically and retrive the pid , when i insepect or watch tasklist, this pid doesnt even exist anywhere. The binding pid to session is the biggest hurdle to even start with WAD. |
Would it be possible to implement scroll logic? |
why do we need to install WinAppDriver.exe? |
I think first and foremost, the |
In our case, we are still doing desktop application, engineering type, meaning we are testing that the application can test a workflow for 3 to 8 hours in a row. (Same as if you were testing Visual Studio) I would be also interested to see a white paper/blog post nowadays for usage of Appium in complex application like Visual Studio or Word and its integration into CI (CD?) workflows |
We are looking into using WAD for our testing needs of WPF applications. But the production environment is heavily regulated and being forced to enable developer mode on system under test might be a deal breaker. Seems it should not be needed to automate WPF apps so removing that requirement is high on our list. |
@daniel-bsci we are using it just fine with your specs. Also using chromedriver to test our chef embedded controls. Product does not ship with developer mode, just tested. Is there a benefit to your request? |
@liljohnak I updated my post to clarify. Our devices are highly regulated, which includes changes to the OS. Not sure our QA would buy performing formal testing on a device with developer mode on when it won't be enabled in production. |
Hi Kat-y, we are looking for a fix for an issue where running the appium for updating the value in the combobox/editbox available in a cell on windows application using infragistic wpf(19.1.20191.208) grid control takes lot of time locating the control within the cell. Please could you let us know if we could get an resolution in the coming release: |
Thought of another weird thing: |
We have WinAppDriver failing when the UI thread is locked in the App. We have our own wait that works around this, but maybe consider adding a capability of how long an acceptable ui lock should be. |
@liljohnak Is it possible to use WindowsDriver session = new WindowsDriver(new Uri("http://127.0.0.1:4723"), appCapabilities, TimeSpan.FromMinutes(10)); in java? |
@kat-y Any kind of roadmap or developments you can share? |
@ashkaps While I am also feeling less than optimistic that WinAppDriver will continue, I think we should wait for word from @kat-y. Our frustrations are understandable, and we are assuming/reading in between the lines that MS will not have time to come back to this in any meaningful way. That's not a definite, though. @kat-y @DHowett - What we'd really appreciate is an honest, realistic look at this project and Microsoft's resources to maintain and/or open source it. If the best you can give is another lengthy wait, then yes, we should all look in a different direction. But if there is a real path forward, then it is clear there is a robust community here to help. I can also say that my initial product tests using WinAppDriver were incredibly well received by my company, and it will be a massively popular tool with Windows desktop devs should it continue be to developed. |
hi all, given that Appium would like to continue to support Windows automation whether or not WAD revives, are there suggestions for the most promising tool to base a new Windows driver on? I can't guarantee any Appium development resources on this at the moment, but would like to understand the landscape and see what's possible. |
@jlipps FlaUI is what I've been using. It's been working very, very well and the underlying UIA3 is extremely powerful. I remember reading somewhere that WAD was also based on UIA3 at its lowest levels, so this is probably purely a middleware problem. |
Hi @jlipps based on what I have learned so far on this ticket, I think FLAUI, a .NET library, is a possible heir. I don't think it is written using gRPC so the portability is a challenge. Karate is a Java wrapper for FLAUI. |
Awesome feedback, thanks. I'm not a .NET developer, and there would need to be some kind of Node.js component to interface with the Appium server. I'm not sure how Microsoft makes its UIA3 library available. Is it some kind of interface you have to bind against in native code? It would be sweet if there was a low level gRPC frontend that we could just write a Node wrapper around. Failing that, we would probably need to do the same kind of thing that Karate does in Java, but in Node. Again, I'm not a windows developer, but is there an easy way to write a C++ or .NET gRPC server that does some simple bindings to the UIA3 interface? |
This is the recommended gRPC server for .NET https://github.com/grpc/grpc-dotnet |
"This means that, for the next ~6+ months, WinAppDriver development will remain paused." @kat-y Any update on resourcing for WinAppDriver now that we are 7 months out from this update? |
Thank you all so much for your patience. We've shared a new update on the state of WinAppDriver in #1550 , I'll be closing this thread and have taken note of the comments and concerns raised here. Please feel free to leave any thoughts or feedback on 1550! |
For future reference, closing an issue with lots of feedback and negative comments and replacing it with a new issue that essentially says nothing has changed is not good for encouraging engagement and maintaining a healthy community. |
Hi, what about support for Windows Server 2016, Windows Server 2019? Our app is running on Server. Can I test it with WinAppDriver? |
Windows server 2019 works good. |
So what operating system versions are supported again? |
Windows server 2019 and 2016 work fine. Windows 10 work fine. |
Is WinAppDriver still under active development ? Or are there any alternatives ? |
Our company has an alternative, but its not for free. As i can see there is nothing out there |
@ashkaps its munich based testifi(dot)io and our toolcain is used by big car manufacturer |
yes, i would be interested to hear about this as well. |
In Python this works for me:
|
Just FYI to those people asking about an alternative: It looks like the author of FlaUI is actively developing an open source alternative. They seem to know their stuff and are very responsive to issues & helpful. I'd check that out. Hope this helps. |
Yep, and looks like they even support the newest WebDriver standard, pretty awesome stuff! |
Hi everyone, I (@kat-y) am the new Program Manager for WinAppDriver, so please feel free to direct your questions and concerns my way. I’d like to address the limbo and uncertainty around WinAppDriver – much of this is due to an internal transition of WinAppDriver ownership within the company, where it recently moved closer to the team that owns and supports our modern native Windows UI frameworks. This transition is complete, and WinAppDriver now lives with the same team that owns WinUI, WPF, React Native for Windows + macOS, and other products such as the Windows Terminal.
Presently, the team’s focus is on these aforementioned UI Frameworks. This means that, for the next ~6+ months, WinAppDriver development will remain paused. In the interim, we’ll be working in the repo with the community to construct an execution plan for when we do bring dev resources back to WinAppDriver.
Also, as I’ve been ramping up, I’ve taken notice at the many requests for WinAppDriver to be open-sourced. Open sourcing is a lot like any feature we’d consider adding to WinAppDriver: it takes resources to do it since we have to ensure the code is free of private APIs, represents modern OSS standards for Microsoft, has processes & license agreements properly reviewed by our legal team, etc. So ‘going open source’ is definitely on the list of things for the future of WinAppDriver, but this will also have to wait until we can apply more resources to the project in general. I’m looking forward to when we’ll be able to do that.
If you have any questions about what I wrote above, or about WinAppDriver in general, please reach out and ask. Thanks, I’m excited to have a chance to work with this great community!
Please note that a more recent update is #1150
The text was updated successfully, but these errors were encountered: