UiPath Robot Run

how to make a robot not to break when I move mouse around the screen when the bot is running?

Hey!

Use attach window Activity to stay intact with the browser and also make sure to use Simulate type or Send windows message.

This two will works in background

even if you minimize the browser also this will work

Regards,
NaNi

Thank you I will create a demo project use Attach Window Activity and with Simulate Type or Send Windows Message doesn’t work especially with “Click” Activity.

Hello @Andile_Wayne_Lukhele

Whats the error that you are getting? Can you try minimizing the browser during execution and check whether working or not.

If you use simulate click it will support background autoamtion. I think even if you use the mouse then also it should work,

Well when I run attended robot and I move mouse around it got interrupted and break.

Hi!

You need solution for attended or unattended bot?

Regards,
NaNi

Attended Bot

Hey!

Do the same process but give some delay before and after…

Make the selectors very dynamic

Regards,
NaNi

Thank you, I will give feedback once I am done with the demo.

1 Like

hello,

the best way to do this for attended automations is to either run the automation in Picture in Picture. (This will start the bot in a isolated windows session on your laptop so it will not be interrupted by your mouse movements)

or

you can use block user input activity in studio. this will prevent any keyboard and mouse interactions from interfering with the automation on the environment the automation is running in until it has stopped running (the blocker user input can be broken if a specific keyboard key his hit)

1 Like

Hi @Andile_Wayne_Lukhele,

You can run it from your UiPath assistant. Please review the link and let us know if you run into problems.

Regards,
MY

Thank you everyone for the solutions and big up :ok_hand: the solutions worked.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.