Hi, i would like to find a certain file name, for example (attached picture) , the file full name is RPM_CUSTOMER_CASHI_LNS_MY_20230630, but i only want to find RPM_CUSTOMER_CASHI_LNS_MY as the “20230630” changes every month. and file name found, i want to download the file
An Initial check could be done in the Application itself, Are you able to filter the required manually ? Is there a Option to Filter by name as you have mentioned in the application itself ?
If so, we can do that Step first, and then Check with the Table Extraction or Find Children activity/methods.
Also let us know if the file match you are trying to find will always be a Single file or could there be multiple such files present ?
Let us know if you are able to conclude on the above suggestions.
Use the extract datatable activity to extract the table as datatable.
Use for each row in datatable activity to iterate the each row in datatable.
Inside for each use If condition to check the condition Currentrow(“Name”).toString.Contains(“RPM_CUSTOMER_CASHI_LNS_MY”)
Store the value in a variable.
In then block give the click activity and indicate the download button, open the selectors of click activity, select the proper attribute in the strict selectors and pass the variable to the click activity.
We change the selectors dynamically to click on the required one.