For eachUiElement Error

I am using the for each UiElement activity in this table


When I pick the data it get pics correctly it look like this,
image
But when I click save and close and I open again all the info is deleted, that doesnt happen when I do with a table in bootstrap webpage
Pls help

@Juandix

Can you please elaborate…is it like data is missing on website?

Are you entering the data?

Cheers

No the data is displayed on the website, sometimes is more data than other times, when I pick the info the Activity gets the data correctly, but when I execute the activity or I want to take a look again to the data is like the activity is no reading any info from the webpage
looking like this
image
Like all the info inside is empty when its suposse to look like this idk if it is a bug or someting
image
When I use it in any other part of the webpage it works correctly but only on that dinamic table the info is not working anymore

@Juandix

Would suggest explore the selector that you are getting in for each element…also make sure to use a dynamic one for the selector on for each ui element as well…looks liek the table selectors are little dynamic …may be its missing some class or aomething you have used

Cheers

Could you explain how to use the dinamic selector in that activity

@Juandix

Even in for each ui element you have the strict selectors and fuzzy and in them you can first find a selector which identifies the right main or table element…that would first help in getting right selectors for the child elements inside as well…

Check when data is not coming if the selector is properly highlighting the are where the elements are there…use debug mode and highlight element for this…if its wrong then it means some rlement is causing issue for the selector you have…make it more unique…

Apart from this…inside the loop you can use log mesaage and use currentelement.selector to get the selector …and see if that selector is proper …like some times there might be few invisible rows or div which we dont need…but because its a child it might also be retrieved…try using filter or modify the selector as you need inside the loop as well

Hope this helps

Cheers