unable to save the document in the desired folder location using PEGA RPA
Our use case is to save and rename the document from the browser.
But, whenever i run the automation, its saving the file in the last download folder location and also not renaming the file.
I am passing the path as a text parameter using string concat to the text field in the Save As window. The path(text) is getting changed with new the path (text) in the text field of Save As window. But when bot hits on Save button, file is not getting saved in the new path.
There is no Raise Event method that I can use for this control. Tried with Tab out, still did not resolve issue. Anyone, please let me know how to fix this issue.
Thanks in advance.
***Edited by Moderator Marissa to change type from Pega Academy to Product***
I believe I worked with you on this via WebEx, so let me know via email if that worked. For the forum though, I will restate the issue to make it clear. It appeared that Adobe was not accepting the text that was being entered into the text box for saving.There were two issues we looked at; the matching for the controls and the saving itself. I do not believe Adobe randomly chooses where to save files. I suspect that it either uses the last directory or defaults to one.
In this case, I suggested that since this was unattended, it was possible to setup the machine such that you know the last directory it will save to. Then I suggested that instead of trying to enter the file name and path into the box and effectively perform a Save As, that the automation simply clicks Save. This would then cause a file to get created in the default folder that could be moved/renamed to wherever or whatever it needed to be. This would effectively side-step the issue and reduce the number of steps being automated; making a failure less likely.
Thanks for your response. Like advised I have implemented the same, from default location I am renaming the file and moving it to a desired folder. For my current situation this helps better.
I have also tried changing the default location of adobe to the desired folder in its properties but it didn’t work, Adobe was still choosing the last directory. Since BOT was unattended followed you suggestions.