I have to make my robot click on a specific file inside a folder with a bunch of other files.
I have like 20+ files in this folder, and I want to use Click activity to click on a specific file. Unfortunately, I cannot predict the file order in the folder, so I can’t assume that it is, for example, the 5th file from the top.
How could I achieve this? I just used Click activity and clicked on the file from Indicate Element, but when the file order changes, it clicks on the wrong file…
I want to:
0) Open File Explorer and go to the right folder
Click on the file I want (Not double click but just a single click)
Copy the file
Go to a different folder
Paste the file you copied in step 2)
I was using Copy activity, but it doesn’t really show the robot’s behavior, so I was told by my supervisor to use other methods so it can show the robot’s behavior…
Could you please tell me what error are you getting if you are trying with Copy File Activity.
Take two click activities and click separate files with those click Activity and then compare both selectors. I guess filename will come under attribute name aaname.
If yes then make selector dynamic by passing variable into selector.
Please share screenshot of those click activities and will help you to make Selector dynamic.
No no, I am not getting any error. Copy File works great, with no problem.
But my boss told me he wanted me to use other method, because Copy File doesn’t show the actual robot’s behavior. You know what I mean? Like with click activity, type into activity, etc, you can actually see the robot is doing all that, so you can watch the automation process.
But Copy File process cannot really be seen. So he wants me to use Click activity, etc so the robot behavior becomes more “visible”
hello @tomato25
When you will click on a file you’ll have to make certain changes in your selector after clicking on that file name open the selector from UiExplorer
Select the Text Attribute if its not available click on Unselected tab
And in that name tag type your file name or add any variable whatever suits you
If it doesnt work than delete this attribute
<ctrl automationid=‘2’/>
try it