microsoft / WinAppDriver

Windows Application Driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to start WinAppDriver as a non-admin user

aries-zhang opened this issue · comments

Hi team, quite opposite to this issue: #1908, in my use case, the app being tested does not work under elevated permissions, so it has to run as a non-admin user to properly function.

Is there a way to specify a runAs user in the WinAppDriver ADO task?

  - task: Windows Application Driver@0
    inputs:
      OperationType: Start
      AgentResolution: 1080p

By default it will run as a user. Unless you specify to run it as admin.

Is it azure ADO task? If yes then run the test agent as user and not admin.

Yes it is an ADO task which runs as a user with elevated permission. Is there a way to specify the test agent to run as user without customizing the image? Found this link but self-hosting is not an option due to compliance/security reasons for us.

image

I know for sure self hosted agent it's possible, not sure about MS hosted agent. You need to raise a support ticket with Microsoft.

Will do, thanks @anunay1 👍