Click on element wichhas dynamis selector

Hello Friend,

I tryed to click on an element which has the following selector:

<webctrl parentid=‘$PD_AttachementGEDCopy_pa105651042978388149pz$ppxResults$l2’ tag=‘A’

the parentid changes every time, i had tryed (*) but it does not works. it hignlight also other elements.

as a work around i had attached the desktop window that contain the element, and try “Click text”

but i’m not convinced about that.

any idea?

Try to figure out some of the common part in parent id attribute if it has. Then replace the dynamic part by *.
or you cold use Fuzzy/regex in parent id depending upon your case.

Try to use :
parentid=’Attachement

Or try not to use the parent id

So here is the problem,

I had a datatable:
Column-0,Column-1,Column-2,Column-3,Column-4,Column-5,Column-6,Column-7
Catégorie : Réception 1,Catégorie : Réception 1,Catégorie : Réception
File 2, mmmmmmmmmmmmmmmdd, ,
File 3, yyyyyyxxxxxxxxxxxxxxxxxxxxx, ,

Catégorie : Traitée 1, Catégorie : Traitée 1,Catégorie : Traitée 1
File2, 936-B649-03/10/2019-605008, ,

I want to keep only the Files (sub datatable) with “Catégorie” = Réception.

hey @abdel
Use the filter datatable activity to filter the data category = reception

i hadn’t worked with it in the past.
May be i wasn’t clear enought I want to keep only:

Catégorie : Réception 1,Catégorie : Réception 1,Catégorie : Réception
File 2, mmmmmmmmmmmmmmmdd, ,
File 3, yyyyyyxxxxxxxxxxxxxxxxxxxxx, ,

I don’t think that this activity can do that

hey @ad
if we have to extract the data from datatable based on some conditions then filter datatable is the activity that can be used efficiently.
I could show the demo if you could provide me some sample input.

Hey Nilay, i had sent you a sample