Shakevg

Results 62 comments of Shakevg

@EdeBont Do you know what is WinAppDriver version is installed, is it x64? The latest WinAppDriver has an x64 version and it installs in another folder "C:\Program Files\Windows Application Driver\WinAppDriver.exe"

Per documentation it has WinAppDriver 1.2.2009.02003 https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#preinstalled-software It is not simple to create such task. You can try to look on example here https://github.com/microsoft/WinAppDriver/issues/846 Something like: cmd start /K "C:/Program...

I am also using .Net Framework 4.8 with WinAppDriver for several years and didn't have any issues

@mcsia Could you please post the WinAppDriver log and error from your test

[sourabh-verma](https://github.com/sourabh-verma) Could you describe your problem in more detail. Is the program open collapsed or just under other active apps on the screen? Сan you try `driver.setFocus()`

@kamilchodola Yes for C#: Session.SetFocus();

@LisaAga As @[Tree55Topz](https://github.com/Tree55Topz) mentioned WinAppDriver is not the right tool for such cases, do it programmatically.

[LisaAga](https://github.com/LisaAga) You can take a screenshot of the screen instead of window https://stackoverflow.com/questions/58305/is-there-a-way-to-take-a-screenshot-using-java-and-save-it-to-some-sort-of-image

[anthony11c](https://github.com/anthony11c) Try the next better approach: 1) Run bat from code [anthony11c](https://github.com/anthony11c) 2) connect to program using process name or app title https://github.com/microsoft/WinAppDriver/issues/1578#issuecomment-905453842 https://github.com/microsoft/WinAppDriver/issues/534#issuecomment-562030077

@rehamkotb You should configure the azure agent according to documentation https://github.com/microsoft/WinAppDriver/blob/master/Docs/CI_AzureDevOps.md#recommended-reads