Hello Community,
I have a flow in PAD where I download a file. When testing it works fine for me, but when I want to run in Power Automate Cloud in unattended mode, it doesn't work for me.
In the PAD flow I tried to get to the download button with the option "Send Keys" with 'Tab' and I also did it with Web UI, but it works for me when I am present in the Virtual Machine, but when it runs in unattended mode it does not work for me. works in Power Automate Cloud.
Any additional help or advice?
2.- How to check that it is in low resolution the Web UI Elements?
Set your screen resolution to 800x600 and see if you see all of the elements throughout the process in all apps you use.
Run attended in 800x600 to see if it runs without issue.
The curious thing is that in the Power Automate cloud sometimes the flow runs without problem and sometimes it throws me an error, as in the following images,
So does it sometimes run fine in unattended mode using web UI elements? That's what I understand from the above.
Error is saying the button was not found. That could be for several reasons:
- no button is shown due to the resolution
- no button shown as you need to click some other button or menu to show the button
- too specific selector if the button has different properties between runs
- too generic selector, if there is more than one button on the page and the selector does not point precisely one
Is it possible to post the link to the page you are automating (if not private)?
Hi @momlo
1.- It is the same user, the PAD flows run in the VM, but I am the user for everything.
2.- How to check that it is in low resolution the Web UI Elements?
The curious thing is that in the Power Automate cloud sometimes the flow runs without problem and sometimes it throws me an error, as in the following images,
I can't find the error why sometimes it works and sometimes it doesn't, the flow.
You would need to post some more details.
First thoughts:
If automating via Web UI elements works for you in attended, then it is possible to make it work in unattended:
- Check that the user used for unattended has an identical browser setting to the user used for attended
- Check that Web UI elements do appear in low resolution of the unattended run (default is 800x600 afaik) and if not - use action to resize session to the resolution that makes elements to appear