I’m creating the workflow where bot will download csv file and click on ‘save as’ to save the files with proper names. This workflow is working fine in attended mode but in unattended mode its not able validate the popup and click on save as button, hence throwing the error.
in such cases it could be the case that the popup is less fast displayed and the bot tries too fast to click.
We do have several options to sync more the bot on the application to get more reliable and solid. Give a try to use the retry scope activity and sync the bot till the save as popup window is displayed before continuing the flow
It’s much easier to set your browser to automatically download files and then just have the automation get them from the Downloads folder and move/rename them.
But I have checked on it by using takescreenshot.xaml, Uielement for ‘save as’ is already loaded. But still bot is not able to find the element. And throwing the error ‘UIelement not found’ for click on ‘save as’. But if I login to VM it will continue working without throwing any error.
Try changing the Input Mode from ‘Hardware Events’ to ‘Simulation’ in the click activity properties. I had the same issue and I tried all of the input modes until I found the one that works in unattended (where there is no screen) mode.
Yes, I have tried that as well but still not working. It is not validating selector of pop up only. Everything I try is working in attended mode but throwing errors in unattended.
In unattended mode, please try removing the ‘Image’ selector as in my case there was no screen attached so there was no visual element to match that image with.