Unattenden robot changes screen size mid run

Hello,
I have a problem with my unattended robot. Every 100 runs or so, something strange happens: the screen resolution changes unexpectedly. The screen size is initially correct, and then — seemingly out of nowhere — it switches resolution. It looks very odd.

The screenshots I took are from the “Failed Recordings” section in Orchestrator.
I can’t see any reason why the resolution should change mid-run. Most of the time, this doesn’t happen, but occasionally it does — and I can’t figure out why.


@Felix_Giezek,

Check if any shortcut keys there in your bot which is resulting in this.

No, there are no shortcuts in that part of the bot.
There is just a Retry Scope, cause the website needs some time to lead the informations.

@Felix_Giezek

This may cause due to long time run of accessing the browser. check is there any settings or use resize property as maximized of use application or browser activity

Hi @Felix_Giezek,

You can try to use “maximize window activity whenever browser is opened so it is maximized even it didn’t open in maximize mode.

1 scenario I can think of is - may be when system exception is happening and applications are re-initialized/reopened in that case, sometimes screen is opening in non-maximized mode.

So if you would have this maximize activity used right after your browser is opened, it would ensure screen side is maximized before proceeding with any activity.

Regards
Sonali

Thanks, i will try that.

Thank you for the idea. I will try that.

1 Like

Try working with your infrastructure team to enforce a screen resolution.

@Felix_Giezek

Sounds good!

Also would be worth checking if you have set resolution for your robot account on orchestrator? example shown below:

Regards
Sonali