Access to Window Selectors

Hello Community,
is it possible to use the Window Selectors inside an UiPath workflow?


An example: I want to use in the Write Line activity e.g. like this
Window.Selector.app and I get saplogon.exe or
Window.Selector.cls and I get SAP_FRONTEND_SESSION.
Is it basically possible? If yes, what is the correct way to get this information?
Thanks for hints and tips.
Best regards
Stefan

@StefanSchnell

Do you mean want to read Attribute value from Selector.

If yes then use Get Attribute activity and indicate that element it value show you list of all attributes. From that select required attribute from drop down and then it will give output as attribute value.

5 Likes

@StefanSchnell
Yes IT should be possible. The attach Windows hast an Output of Window. Just define a variable and assign the Output in this.

From this Output you can Access the selector information via API in the selector property selector.

1 Like

Hello @lakshman,
thank you very much.
Best regards
Stefan

1 Like

Hello @ppr,
thank you very much.
Best regards
Stefan

1 Like

@lakshman

Hello Ganta,
an additional question: An SAP Window offers a lot of more attributes, like sapScreen, sapSession etc.

But I can not find this attributes in the Get Attribute activity.

302

Is it possible to get this special SAP window attributes? If yes, how can I get it?

Thanks for tips and tricks.
Best regards
Stefan

1 Like

@StefanSchnell

once try to add those attributes also into the selector and check once.

1 Like

@lakshman

Hello Ganta,
thank you very much for your fast response.
Very interesting behaviour. If I use Get Attribute Activity inside Attach Window Activity it delivers other attributes as I use it outside. It is independently whether the selector is set or not.
Best regards
Stefan

304

1 Like

@StefanSchnell

No idea on this. I have to check from my end also once.

1 Like

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