Save the download from browser

Hi Team,

Iam using Type Into in the Save as window for saving download however file is getting saved with default name.

Regards,
Balaji Nama

@balaji.nama,

Take a String Variable and use a assign activity to give the complete path.

Assign StrFullpath = “C:\Users\Admin\Downloads_doc\NewFileName.xlsx”

use the Variable in the TypeInto of SaveAs


Mukesh

Hi @balaji.nama :wave:

Make sure to properly indicate the text box and then use a variable to dynamically name your files.

1 Like

Hi Mukesh,

Thanks for your response. I just tried this. Also, i am able to enter the file name using variable or without using variable but when save is clicked file gets saved with old file name.

I have used delay command as well but even that’s not helping.

Regards,
Balaji Nama

That’s strange.

Can you try saving the file manually by … Save as …and giving a different name and see if you are able to save it with different name.


Mukesh

1 Like

Yes I have tried it manually it’s taking the file name / folder and gets saved correctly.

As mentioned before am able to Type In and waits but after save i notice both folder and file name would be the default one

Okay it’s actually strange … but still then we can look for other solution here…

You can rename the file in the folder once it is downloaded …

Try To get the latest file in folder based on the file creation date … Then rename it to the required name.


Mukesh

Hi Mukesh,

How do we findout latest created file on desktop or downloads or any specific folders, haven’t tried this till date.

Regards,
Balaji Nama

When you type into path,
IF you are using SimulateType true, try again with false.

@balaji.nama

Please refer


Mukesh