Hi All,
I have multiple attachments as shown below which consist of pdf, csv and png. How to download multiple attachments .
Hi All,
I have multiple attachments as shown below which consist of pdf, csv and png. How to download multiple attachments .
Hey @marina.dutta
To achieve it, you need to download mail messages list and in for each loop save every attachment to the folder path.
e.g.
If you want to save only specific types of attachments (e.g., only PDFs), you can use the “Filter” property of the “Save Attachments” activity. For example, to save only PDF files, set the Filter property to "*.pdf"
.
→ Use for each Ui element activity and indicate the list of files in the web browser.
→ Inside for each insert the click activity and pass the CurrentUielement in the Input element option in properties of click activity.
It will extract all the download ui elements and iterate through each element and click on each element.
Hope it helps!!
One questions. Sometimes there are 4 files, sometimes 5 and sometimes more. In that case how to do ?
That was not a matter for each Ui element activity it will capture even it has 3 or 5 or 6 files.
Hope you understand!!
Do you have any link or this is company website ? If not share the link
Two ways
Both would work dynamicaly
Cheers
I am trying to use for each ui element and Get Text by passing the current ui element as input but getting null values in Get Text . I need the current Ui Element as output value of Get Text
Inside the For Each UI Element use Get attribute acitivity and pass Current Element and Give Attribute as aaname which is extracting the text and save that into a variable.
Hope it helps!!
Still getting null values for the current for each ui element .It shouldpick up the attachment name.
Try different attributes check in which attribute the name is getting extracted. and give that attribute type there.
Regards
Hi @mkankatala
In the for each ui element, in every page the pattern is different . Some places pdf is only present some places csv, .jpeg, png. But its not picking the csv files only pdf . Should I reindicate?
In the for each ui element, in every page the pattern is different . Some places pdf is only present some places csv, .jpeg, png. But its not picking the csv files only pdf . Should I reindicate?
Check the selector in the for eqch ui element qnd if it contains pdf in any fields remove it…or use * in place of it
Cheers
Cheers