microsoft / WinAppDriver

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

Running **Winapp driver** test cases on headless mode #721

Closed Dhatchuu47 closed 5 years ago

Dhatchuu47 commented 5 years ago

Hi All,

Do we have any update for running Winapp driver test cases on headless mode?. Our Requirement is to run test cases on Windows server 2016 machine through VSTS CI/CD process and mainly headless mode.

I'm using Java language.

Do we have this option?

hassanuz commented 5 years ago

Hi @Dhatchuu47,

This isn't supported due to restrictions on the Windows OS in handling input injeciton.

psutharsan commented 5 years ago

I am running into the same issue, it works fine on active rdp but failed when it closes. We have selenium tests that have no problem running headless mode.

fenchu commented 5 years ago

Same issue, could anyone please address this, win OS should handle a headless mode.

stefantinger commented 5 years ago

As already mentioned by @hassanuz, this is a problem of the OS. WinAppDriver can't do anything about this.