Set Focus

Hi,

Set Focus activity sets keyboard focus to a specified UI element. What does the technical behavior and when to use this activity instead of using Activate? I specifically wants to know how Set Focus works behind the seen and what does “Set Keyboard focus” means?

Thanks,
Asiri

Well,

The ‘background technical behavior’ of any activity would be known by the owners of that component at Uipath.

But, what it does and how it behaves is something you can find out by using it. Set focus is normally used for elements that should be accessed by scrolling during a ‘Default’ click.

If it is a simulate click then set focus is something redundant. But, during production issues are normally fixed by using redundancies for which I personally think a deep dive into the inner working of how the component is coded might be required.

Regards :slight_smile:

1 Like