Browse for file option not working

Hi, My name is Rajesh. I am new to UI path journey… and learning from UI Path learning. currently I am using 2025 latest version of UI path studio. when I try to use Browse for file it is not working while I run the automation. Is there any way to solve this issue ??
Can any one know what would be the reason ??

List item

Hi @Rajesh_Yeluri

Could you please show screenshot of your workflow?

How have you configured the activity? and what error you are getting?

Hi Sonali
I have added the two screeenshots my work flow
while I run it supposed to open file explorer window to select required file by user but its not doing that and stuck on
same activity …

Hi @Rajesh_Yeluri

Can you please show properties of that first activity?

Also,I see you have not specified any variable for selected file path.

Hi,
please find the properties screenshot…
I have added output variable now but still same problem

Hi @Rajesh_Yeluri

I can’t see screenshot.

Defining variable is not the reason of error, I just pointed out out as I noticed it and you may need it too.

Dear @Rajesh_Yeluri,

I also observed same issue. The issue appear when you run the code in DEBUG mode.

The solution is to run the flow once in RUN mode. Once done, it will start wotking in DEBUG mode also.

Looks like issue with activity/studio.

Mark as solution if it solves your issue.

Br,
NikZ

1 Like

The browse for file activity opens the file explorer and you have to select the files you want it to browse

in the img property panel check the multi select to select the multiple file also provide the directory path or folder path in Initial directory in which you want to browse for the file and save the output in 1st Selected file if the file is only one and if multiple files are there then you create variable in 2nd selected files and use for each loop to get the paths or you can use indexing to get the files

Or use this xaml to refer
Main.xaml (9.8 KB)

If this is needful then mark it as SOLUTION

Happy Automation

Hi @Rajesh_Yeluri

You have a Breakpoint (the red dot) set on the Try/Catch activity that stops the debug just before the Browse for File activity, could it be this setting that is giving you unwanted behaviour?

You can mark the Try/Catch activity and press F9 to remove the breakpoint.
Or you can run the project in Run mode instead of Debug.

Regards
Soren

@Rajesh_Yeluri
Please verify the file path you have provided in your automation. It should be an absolute path, such as “C:\Work”.

If you face difficulties in understanding its properties, please refer to the document link associated with the activities.

Right-click on the Activity and select the help option. This will direct you to the documents page for the activity, where you can find answers to most of your questions.

@Rajesh_Yeluri,

As per my experience sometimes the popup get’s open in background. Try looking for it by Alt+Tab keyboard shortcut.

There also if it’s not there, most probably it’s being blocked by your antivirus application. Try disabling the antivirus if it’s working or not.

1 Like

Hey Nikhil,
I have marked yours as a solution. Thanks alot for your
your solution.

note: thanks everyone who replied and tried to help me for my question
regards,
Rajesh

has been solved

Only reply here if:

Hey Ashok, But as Nikhil said we need to run atleast once
full run instead of debug. then the studio will allow us to execute
from debug as well. Thats what I have also noticed now.

thanks alot for your time and help

Hey Rajesh, It’s not necessary to run it once before debugging. The debug option is also available if you want to debug the flow the first time itself — I just tried it and it worked.
Yes, however, it does seem to be a bug sometimes — there are cases where it works in Run but not in Debug, and vice versa.

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