Downloading available name zip from Website

Hello!
In this scenerio bot is going to a portal loging with a required credentials,and it is typing yesterday’s date and iam getting a Yesterdays name folder like this this 21062023

Know after clicking on that folder there are multiple folder’s available inside that.
The folder’s name are like this-CAMS,KARVY,CVL,BSE,DOTEX,NDML etc these are the folder name’s inside that folders,But in website they do not upload daily the all folders, someday they upload only CAMS & KARVY and someday different but bot will download all the available folder’s from that website.

And there is option also for filter so there we can type the folder name and we can download it
So what logic i can use for this to download that zip folder’s from website?

Hey,

Before downloading check if the folder you need exists or not, also find a property in UiExplorer which can give you the folder name, accordingly you could use click activity with dynamic name property to download a folder.

@prateek.mehandiratta9 What activity should i use if this folder name exist or not…I have stored the names’s of folder in array of string and i hve used for each activity inside that i have used a iF activity what condition should i put?

You can use element exists and rely on any attribute which gives you folder name.

@prateek.mehandiratta9 see this in this i want to download all the folders and in left side there is a filter option so there i can enter the folder’s name and i can download one by one,so how can i use a element exist for this much of folder’s? And user as given me the name of folders so i have stored that in array.

Yea its a web application, identify an element and check if you are getting folder name in the properties of selectors. and use same selector in Element exists to verify if folder exixts.

OR

Use Text Exists Activity.

Bro @prateek.mehandiratta9 iam still confused how can i do this?

Are you not able to use Text Exists Activity and give folder name in the Input. this activity gives you a boolean result.

Here you go:

image

Thanks.

@prateek.mehandiratta9 Should i remove the names which i have stored in array?Because one by one i want to download the folders available?

No let it be:
Check one by one from array which folders are available,
Use text exists in a for each loop.

@prateek.mehandiratta9

In Text Exists pass currentItem to access values of array.

@prateek.mehandiratta9 it is typing true and false in filter section.

@prateek.mehandiratta9 i have passed current item.tostring it is typing true false in the filter

in Type into also pass currentItem:
Like this

@prateek.mehandiratta9 it is working but it is typing the same text continously in filter and second thing is it should type only that text which is there in website…In array i have stored the text which is given by user.once it typed KARVY it should download that folder after BSE It should download that
i want this type of flow

Yea,

Do this activity only if you receive True from Text Exists, i.e. on the Then side of If activity.

To check why its typing same thing again, put a log message to display the value of array inside for each.

@prateek.mehandiratta9 it is not typing anything it is showing a false value only.

@prateek.mehandiratta9 i have used this method only and i have put log message also