Usage of Azure Screen Resolution Utility with .yaml file

858 Views Asked by At

I am trying to run UI tests on Azure agent and one of the guidelines provided by Microsoft states the use of Screen Resolution Utility to fix the screen resolution during UI tests in visible mode.

The problem with that is I am using .yaml files to configure pipeline but I could not find any document that states how to use this utility using .yaml files - even though it has been stated that it can be done. enter image description here

Can someone please help me figure out how it is done or point me to the right document?

1

There are 1 best solutions below

0
ReuseAutomator On BEST ANSWER

Can in clude this in your yaml file

- task: ScreenResolutionUtility@1
    inputs:
    displaySettings: 'specific'
    width: '1920'
    height: '1080'