Enter full file name in save as window doesnt work
I am trying to automate the saving of files downloaded from a website, but when placing the following value in the name box it ignores it, do you have any idea that I would be missing?
In my code I use the GetElement activity to get the name textbox and put the path where I want it to be saved.
But, I see that it places the text but when I click save, it ignores the entered text and only saves it in the default path.
Allan Zimmermann last edited by
Please try and avoid typetext, use assign on "item.value" and only if that does not work, try "item.SendKeys" to simulate keyboard strokes, and only if that also fails, use typetext.
But there is a much better solution for downloading files
Add "Wait for download" activity, and INSIDE it, trigger the download of the file.
Wait for download will disable chromes download dialog, and just accept the a filename that does not overwrite another file. There for the workflow will wait for a file download to start, grab the filename, then wait for the file to be completely downloaded and you can the get the full path and filename from the event ( there is an event property on "Wait for download" )