Setting Display resolution for Automation Testing machines | AzureDevOps

Once I ran into issue where the machine was running scripts in a lower resolution mode than the expected one, but when I logged with a Non Human account and ran the scripts it worked fine

Since the agent was setup in interactive and autologged in mode, the Non Human user was logged in autologged mode in the default resolution of 1024x 768

To rectify this issue, you may need to use a PowerShell command to set this

Set-DisplayResolution -Width 1920 -Height 1080 -Force

You may also like...

9 Responses

  1. December 5, 2020

    … [Trackback]

    […] Info on that Topic: azuredevopsguide.com/setting-display-resolution-for-automation-testing-machines-azuredevops/ […]

  2. December 6, 2020

    … [Trackback]

    […] Info on that Topic: azuredevopsguide.com/setting-display-resolution-for-automation-testing-machines-azuredevops/ […]

  3. December 6, 2020

    … [Trackback]

    […] Find More Info here to that Topic: azuredevopsguide.com/setting-display-resolution-for-automation-testing-machines-azuredevops/ […]

  4. December 18, 2020

    … [Trackback]

    […] Information on that Topic: azuredevopsguide.com/setting-display-resolution-for-automation-testing-machines-azuredevops/ […]

  5. December 20, 2020

    … [Trackback]

    […] Find More on that Topic: azuredevopsguide.com/setting-display-resolution-for-automation-testing-machines-azuredevops/ […]

  6. December 28, 2020

    … [Trackback]

    […] Read More Info here to that Topic: azuredevopsguide.com/setting-display-resolution-for-automation-testing-machines-azuredevops/ […]

  7. January 6, 2021

    … [Trackback]

    […] Read More Info here on that Topic: azuredevopsguide.com/setting-display-resolution-for-automation-testing-machines-azuredevops/ […]

  8. January 6, 2021

    … [Trackback]

    […] Read More Info here to that Topic: azuredevopsguide.com/setting-display-resolution-for-automation-testing-machines-azuredevops/ […]

  9. January 12, 2021

    … [Trackback]

    […] Information to that Topic: azuredevopsguide.com/setting-display-resolution-for-automation-testing-machines-azuredevops/ […]