This extension installs a Build/Release task that can be used to change the screen resolution of agent machines.
This is useful when running UI tests such as Selenium or Coded UI test. The task can automatically detect and set the optimal screen resolution supported by the agent machine.
You can also specify custom values by providing desired width and height, in pixels.
Requirements
The task is currently only available for Windows agents.
Agents must be configured to run as an interactive process with autologon enabled. Please review the UI testing considerations article for details.
Screen resolution cannot be changed in a remote desktop session. Running this task in an active remote desktop session will have no effect.
Getting Started
Add the task to your build or release definition.
Add a test task that runs your UI tests. For example, the Visual Studio Test task.