WinAppDriver icon indicating copy to clipboard operation
WinAppDriver copied to clipboard

WinAppDriver is not working without Developer mode. Is there any alternative way?

Open dillibabu123 opened this issue 6 years ago • 9 comments

We setup WinAppDriver by enabling the Developer mode and did continue R&D on that according to my company requirement and it seems like where we can achieve to automate my windows application and execute scripts.

Challenge_1: Is there any way to run WinAppDriver without enabling Developer mode? Which seems like a security risk to my IT team.

Challenge_2: Without enabling Developer mode can we run WinAppDriver scripts in Remote machines OR CI with Azure Pipelines OR SeleniumGrid?

We are using most of the Microsoft products like Visual Studio and Azure DevOps.

dillibabu123 avatar May 11 '20 15:05 dillibabu123

You can use azure pipeline

anunay1 avatar May 12 '20 16:05 anunay1

We are also looking for alternative way without enabling developer mode. If not now, if there any plan to provide one.

VinayKumar06 avatar May 13 '20 12:05 VinayKumar06

You can use azure pipeline

Thanks for your response.

Azure pipeline will be good only for triggering the executions but to develop the automated test cases then one should enable the "Developer Mode" local to their machines right, so to avoid this is there any other solution?

dillibabu123 avatar May 13 '20 15:05 dillibabu123

I don't know any other solution. Neither am I aware of any plans to provide an alternate solution.

anunay1 avatar May 13 '20 15:05 anunay1

I could record without enabling the developer mode. But to run tests, we need it. How winappdriver uses developer mode. Could you please elaborate. If it's only for giving special privileges, can it be done by setting registries in windows system.

VinayKumar06 avatar May 13 '20 15:05 VinayKumar06

How did you record the script using WAD. Were you able to play the recording back

anunay1 avatar May 13 '20 18:05 anunay1

You can enable developer mode using powershell script when run in admin mode check issue #165

anunay1 avatar May 13 '20 18:05 anunay1

UI Automation doesn't need eveloper mode, why WinAppDriver force this?

douniwan5788 avatar Dec 11 '20 05:12 douniwan5788

Hi , I also have the same issue: developer mode to run (&debug) WinAppDriver is a big showstopper for us in the company win10 machines(it changes the image). Is there any plan to cancel this requirement in WinAppDriver ?

yonashamailov avatar Feb 11 '21 11:02 yonashamailov