Help with find selectors Generated dinamically

Hi guys I’ve been trying to use anchor to achieve the goal of find closest element to input field but this is a very hard challenge hopefully someone could help me, the fact is that even the closest span fields are generated dinamically and there is no way to anchor that, I also tried to do it by getting the class element but the id of the control is being required for that. Is there anyone who can have a different in this scenario, I let a piece of the code being generated, the id dijit_layout_contentPane_# always change and in addition with that, there are more controls with similar name so UiPath doesnt know which one to take

thanks

@abdieldeveloper

try to use a regex in selector if there is a pattern that you see

if it is input field then it would generally be tagged with a label try to use the label field as anchor

also open ui explorer nad check the centre panel to find a reliable attribute from any other parent

cheers

Show us the selectors you’re getting. Something being generated dynamically is irrelevant. They’ll still have selectors.