We are experiencing issues using the “Click Image” activity to select the “Save As” button in Edge when renaming and saving a downloaded file. Is there any workaround or alternative method to make this process more reliable?
Thanks in advance
We are experiencing issues using the “Click Image” activity to select the “Save As” button in Edge when renaming and saving a downloaded file. Is there any workaround or alternative method to make this process more reliable?
Thanks in advance
Change the download path with the desired one in the download settings. There will be no need to open save as and steps after that.
Thanks for your answer, the problem is that I need to change the file name after download, not just the path.
You can try below:
When using the “Click Image” activity in UiPath to interact with elements like the “Save As” button in Microsoft Edge, there can be issues due to variations in image recognition, screen resolution, DPI settings, or UI changes in the browser.
Here are several alternative methods and workarounds to improve the reliability of your workflow when saving downloaded files in Edge:
Instead of relying on the “Click Image” activity, consider using keyboard shortcuts for saving files. For “Save As” dialog, you can use the following approach:
Send Hotkey
activity with Ctrl + S
Enter
after setting the file name.If the “Save As” dialog can be accessed with selectors (more common with standard Windows dialogs), try using Click
with selectors instead of image recognition:
Click
activity using the selected UI element.Instead of handling the “Save As” dialogue directly, consider whether you can bypass the dialogue altogether by moving files after they are downloaded:
Move File
or Copy File
activities to relocate the downloaded file to the desired location.Consider using a browser extension for file management that integrates with UiPath. Some extensions may provide enhanced API-style access to features within Edge.
If you’re frequently facing issues with UiPath’s default image recognition, you may also look into alternative libraries or methods for image recognition (like OCR) that might work more reliably, but this often requires more configuration.
Ensure consistent testing environment settings:
Ensure that the “Save As” dialog is the active window before attempting to interact with it. You can use the Activate Window
activity to ensure the dialog box is in focus.
Sometimes adding a small delay between actions can help with reliability. Use the Delay
activity judiciously to allow for loading times.
Here’s a small outline using keyboard shortcuts within UiPath:
Send Hotkey
with Alt + F
to open the “File” menu (if applicable).Send Hotkey
with S
to choose “Save As”.Type Into
, then Send Hotkey
with Enter
to save.@Jose_Corbalan
why not to use a normal click?
this is what my selector looks like for chrome
<wnd ctrlid='1' title='&Save' aaname='Save' cls='Button' />
I use a separate use application for the save window.
you can also use wait for download activity and later rename the file
Using hotkeys it worked.
Thanks for your help
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.