How to convert UIElement to Image

How can I convert an UIElement to Image ?

Hi @Christian_Maury,

I really don’t know if there is a way to do it.

But based on your screenshot i would recommend you to use the “TakeScreenShot” activity. U can indicate a element as you did in “Find image” and it will return a image var to you.


Well, in this case not really because when I use an activity to recognize an uielement it covers a window not a only one label, I think that is because exist some logical in the desktop application that I want to automate, but now I found a way to do it using an recorder desktop where I can extract one piece of the window to read the text

Like this: