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.

After several tries, I’ve realized that you need to keep trying to find the best anchor for your workflow and then it should work. so my sugestion is to find the best anchor and validate it until UiPath can recognized it pretty well. the use of regex as @Anil_G mentioned before was also really helpfull to me. thanks for this important tip

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.