microsoft / WinAppDriver

Windows Application Driver
MIT License
3.66k stars 1.4k forks source link

Need information for supported OS for Winappdriver. #1998

Open piyushamohapatra opened 4 months ago

piyushamohapatra commented 4 months ago

Hi Team,

Wanted some information about Winappdriver as we are considering to migrate our testcases from coded UI.

  1. Is testing via winappdriver supported for Windows 11 operation system?
  2. Can Automated test be run on windows server 2022 and higher?
  3. How many years from now will Microsoft provide support for winappdriver? According past data the new features or support ceased from 2021.
  4. We are targeting the tool support for at least next 10 years. Will there be any support for winappdriver ever in future?

Regards, Piyusha

bfransen commented 4 months ago

As far as I know Microsoft is no longer supporting WinAppDriver. Although their website does point to it : https://learn.microsoft.com/en-us/visualstudio/test/use-ui-automation-to-test-your-code?view=vs-2022 - I think this is out of date and have requested they have a look and confirm.

On the Appium forums there is a hunt for someone to maintain YWinAppDriver as a replacement: https://discuss.appium.io/t/winappdriver-and-dotnet-client-development-and-maintenance/40240

piyushamohapatra commented 4 months ago

Hi @bfransen ,

Thank you for your response. Yes, coded UI is deprecated, and we are thinking migrating it to a reliable free tool where we can expect the tool to be in active development. What I conclude from the second link which you provided that currently the maintenance is paused for winappdriver. In that case we can't use Winapdriver as we expect the tool to provide at least features/bug fixes for next 10 years. Do you know any other reliable free library for desktop UI test automation? Currently we are considering FLAUI.

With warm regards, Piyusha

bfransen commented 4 months ago

We did search for a free library and FlaUI and pywinauto looked to be good options. But the latest releases for those libraries are several years old so we were unable to have confidence that there would be features/bug fixes in the years to come.

piyushamohapatra commented 4 months ago

Thank you @bfransen FLAUI lib, i personally used and found to be very good. But again as you mentioned we are too reluctant to use FLAUI or Wnappdriver due to missing updates in recent times.

juzin commented 4 months ago

I was able to make tests running on Windows Server 2022, using Appium + Appium Windows Driver. Had to uninstall WinAppDriver latest prerelease version 1.2.99 and install v1.2.1