Elements from ObjectRepository as Variable


It is possible to assign elements from Object Repository to a UiElement variable ?
For the moment I noticed that we can access the Elements from Object Repository only with drag & drop.

Thank you !


Have a view on this doc for more details

Cheers @DragosPadurariu

I’ve only sniffed at object repositories once, since it’s not easily implemented in my companies solution at the moment.

But a quick and dirty solution could be:
use a “find element” activity, with the reference to the object in your library.
The return variable of find element will give you your object as a variable.

Though the whole idea of the library is to not use this step and directly refer to the library components itself.