Audit infrastructure rpa

Hello! How are you?

Could you please help with my test task to a vacancy? I need to open the website then click the download button and then save the file to the project folder. The task also tells that the project must be independ and have no dependencied to my environment. I use the StudioX because I’m new into UITask.

I try to use “type into” with a “UiPath.Core.Activities.GetEnvironmentFolder” value but it does not allow.

How can I set the project folder when I save the file?

Hello @Fractal_Jesus ,

Can you please try this to get project folder:
IO.Directory.GetCurrentDirectory

Thanks!
Athira

if you are using a chrome or such browser you can enable the Default download location as “Always Ask” so that save as popup vwill be visible and you can directly give the complete file path in the filename field

@Fractal_Jesus
you can try this method to get the default folder location of google chrome

regard
Muhamed Fasil

It works! Thank you very much and thank everybody in this topic.

1 Like

But now there is another problem. To paste the project folder path I should click the “Save as” dialog window adress line first. But when this line changes the program stops working fine. It wants to connect to the certain path line like “C:\users.…” but this path is going to be different to every PC…

Hope I described the problem well.

I didn’t understand your issue. Can you please help me with some screenshots, if possible?

Thanks!

The problem was with the filed 1. It used to work incorrectly because of dynamic value.
I changed it to the field 2 and now everything is fine :slight_smile:

1 Like

Okay, glad it worked! :slight_smile:

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