How to download, rename and save a file to desired location | Selenium Forum
M
Posted on 19/06/2016
hi,

I have a task to automate a application which generates a report in excel format. I need to rename the file that gets downloaded and save it at a specific location in disk. This process has to be repeated multiple times.

using firefox profile i managed to save the file to a particular dir, I am looking for a solution to rename and save each file to desired dir before the test does a second run with second set of inputs.

appreciate your help!

thanks

Umesh

M
Replied on 20/06/2016

you have to use robot class.

tutorial for robot.
http://www.guru99.com/using-robot-api-selenium.html