Problem Description:
I’m facing a challenge in my UiPath automation project where I need to interact with files in Windows Explorer that have variable names. Specifically, I need to search for files with names like “ED453” or “LM123” within a folder named “AQ - \Remote.”
Here are the key points of my issue:
-
Dynamic File Names: The file names I’m searching for are dynamic and can change with each execution. For example, I may need to search for “ED453” in one run and “LM123” in another.
-
Interaction Steps: My automation process involves the following steps:
- Typing the file name into the search field.
- Navigating to the search result (without pressing “Enter”).
- Right-clicking on the search result.
- Selecting the “Send to” option.
- Choosing “Compressed (zipped) folder” from the context menu.
-
Challenge: My challenge lies in creating selectors or automation steps that adapt to the variable file names within the “AQ - \Remote” folder. I’ve attempted to use selectors with
{{currentItem}}
in the title attribute but encountered issues with UiPath recognizing it as a variable.
knowing that currentItem represents the specific file name I want to search for in each iteration of my automation.
I’m seeking guidance on how to create selectors or automation steps that work with these dynamically changing file names within Windows Explorer. Any suggestions or alternative approaches would be greatly appreciated.
Thank you for your assistance!