I am trying to use UiPath to select all the items in an app in windows which is on the left side plane (see below) but the list may change in terms of file names as well as length so it’s hard to click using a ui element as the names change.
I was thinking of using a loop then somehow clicking the items, then copying the data output and pasting it (probably to excel) but I wasn’t sure how to select the items from first to last or what to do to indicate that the last item has been clicked then stopping it.
I would appreciate any ideas or help! Thanks so much!
Use while loop to extract all the file names into list of strings
Create loop on the list of file names then use click on activity where you are using file name as attribute in selector.
You may ask why to create list of all file names. It is because sequence of file name in list may change, when you are going to open any file as Recent will move last used file at top of the list. If we are going to use the file name in selector, click activity will be work irrespective of position of file name in recent files list.
It is bit hard to give solutions as we don’t know the structure of your application.
Can you give Find Children activity a try.
This would give you all the selectors in that block, then you can loop on those selectors and click on every object.
When I looked online it looks like find children doesn’t work unless it’s a drop down menu? I also can’t seem to find it in my UiPath studiox for some reason
I tried using click function then highlighting the button or select function but it only shows the top half without the configuration and below. I may be missing something?
I guess the complex thing I’m trying to do is take certain photos with text, put it in the file, (hence it changes in name and length), extract certain text, sort it through excel, then input it to another program. So far perhaps I’m making it too complex but I figured out the other steps, so this is actually my last part!
now can you try to remove the name attribute, it’ll auto insert a new attribute idx. and you can loop through idx number through a normal counter variable