Selector to be updated with partial value to select full file

Hi All,
this is my file stored in Box.com and I need to check for file in folder 340138 and based on that check the file but I only have var1=340138 and var2=BP41693 in values how can in use these values in selector for get element to look for this files.

Selector - aaname needs to updated with what to select the site when we only have var1=340138 and var2=BP41693
image

Hi @shashank_dullu

you can create a regex selector

or else, try to using for each ui element, retrieve the aaname property for each element, validate it in an if activity and based on that do what you need

Regards!

From the screenshot, it looks like a table. Try usinb extract data table on the screen and check if you can get the contents as a table.

You can get the value that’s needed from your table and use it in the selector in case if you need the full name of the file.

Else, you can try using wildcards if either var1 or var2 will be unique in the folder that can contain many files.

@shashank_dullu

Hi @shashank_dullu @shashank_dullu

Can you try this

   <webctrl aaname='{{var2}}_{{var1}}_Amsterdam Umc Location Amc.zip' tag='SPAN' />

image
Str_String has half name - BP41693_340138
Selector -

How can I make my selector dynamic so that i can select the files with half name .