Open file dialog

Hello

I was not able to find answer on this. In the process i need to click on the link which invokes the open dialog to upload certain file which is stored on disk, but maybe now the dialog is pointing to different folder then last time and my automation cannot move on. How can i make sure the either:

a) i would be able to somehow specify for it to be always at that directory before the dialog opens

or

b) after clicking i can tell browser that it needs to go grab that file from certain path and use that and then upload the file on the webpage

Is there any solution to that?

@lc1917,

You will have to use UI interaction approach here.

So option B is the right choice if you can’t type the file path directly.

@lc1917

After clicking on link it will ask you to upload the file right…!

here you can follow your second approach…

give your file full path it may good solution instead of directory changes.

because in the future if any changes happened in your laptop like software updates or if you want to run the bot in any other then they always you have to take care of the directory changes. So that will be a little tricky so you can follow with your second approach

Happy Automation!!

@lc1917

in the fielpath field give the full path from base location to the file and it would pick the file automatically in given folder

cheers

i dont understand, maybe you meant

So option B is not the right choice if you can’t type the file path directly.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.