I am trying to bulk download 2 sets of attachments from an internal company webpage, with the webpage looking as below. The links have no ‘href’ attribute and requires manual clicking to download.
The way I am intending to automate this in UiPath v2019 is via Find Children.
I first tried applying it on Attachment A - the elements are shown below.
Based on the pattern, I used the following Selector in the Find Children activity, using the ‘*’ wildcard. For scope, it was FIND_CHILDREN, and the output stored in variable childrenlist. Then I send the click, looping through each element stored in childrenlist.
Selector:
I ensured the TypeArgument for the For Each activity is UiPath.Core.UiElement.
Problem
When I run it however, it only clicks the first attachment, and the run stops after that.
Seeing this, I’m suspecting the Find Children does not work as expected, but I am unsure what is wrong though.
Try to debug the workflow and get the count of children list to check whether all the children elements are in the list .Then check the selector if there is any other dynamic attributes are present
I’m really puzzled about this, the UIExplorer clearly shows the pattern where a wildcard character should do the job, but it still returns 1 UiElement.
I wonder if there might be other strategies to do the selector?
@Yoichi, Attached image for the properties of Find Children
As for the Target Element, I am not sure if this is correct. Is there anything you are looking out for? Should I be setting Target Element to the ‘DIV’ tag instead?