Screen Resolution Update

Is it possible for a bot to change the screen resolution on a Windows machine?

I have a task where I need to capture a screenshot, insert it into an Excel cell, and resize it appropriately. This works perfectly on my machine, but it’s not working on the user’s machine due to a difference in screen resolution. Is there any solution to handle this issue?

Your bot might get have appropriate permission to set screen resolution.
Best option is to ask IT support to match dev and prod screen resolution.

If you want to take screenshot from browser you can try ‘Ctrl +’ or ‘Ctrl -’ using keyboard shortcut to zoom in zoom out your web app and then take screen shot.

You can use EnumDisplayDevices to figure out what displays you have available and EnumDisplaySettings to get a list of available resolutions for your displays. Use ChangeDisplaySettings to set the resolution you need.

source : https://stackoverflow.com/questions/215412/programmatically-change-screen-resolution

@arivazhagan_mathivan,

Please explain what do you mean by

Any error you are getting or what’s the behavior you are observing. Also why do you think it could be due to screen resolution?

@arivazhagan_mathivan

You can set the robot resolution from tenant → manage access → edit robot user → robot settings where you would see resolution option set it to any resolution you need

Cheers

1 Like