I am unable to properly set the dynamic selector in one of the portal

I have a situation here, i need to click on empty in one of the column in a table which is inside a portal. i have tried dynamic selectors to set it, for some reason it is not working, i do not if this is something i am missing or given activi

ty is not clear. All i wanted is click on a empty cell under the column “Date administered/refused”

i will tell you this is how table is structured with below headers. for check box it is only the sybmbol not the actual name mentioned as header.

check box, Dose#, due date, Refused, Date administered/refused, vaccine name

All i wanted is click on empty cell under “Date administered/refused” column.

Also, date to be picked after selecting, date- month and year is dynamic again. how to set this as well.

Hi @Ayesha_Ijaz

Method1
Use For each ui element activity in that use Get attribute activity and then if activity check the cell is empty or not, in then block use click activity.

Method2
Use Extract Tabledata activity and then use For each row in datatable activity in that use if activity then check currentrow(“Your column”). Tostring is empty or not in then block use Click activity.

Regards,

1 Like

@Ayesha_Ijaz,

Kindly share the selectors of the click activity.

Thanks,
Ashok :slightly_smiling_face:

1 Like

thanks Ashok for looking into it.

I will give you two selectors, ideally i wanted empty cell to be clicked as like attached,

when i click on empty cell as like clicked on above screenshot I get this selector. I wanted to make this selector dynamic so that even if i select any vaccine from drop down, still it should find the empty cell and do it.

image

Thank you, let me give a try.

Shared, kindly check and do the needful

Method 1 does not work, method 2 i had tried issue remains same

@Ayesha_Ijaz,

Make the selectors dynamic and it should work. Replace the hardcoded table row with iterating current row.

Thanks,
Ashok :slight_smile: