Automation unable to detect UI Element

I have a Citrix Application, it is highlighting the entire screen.

When I Use Ui Explorer and validate this selector:

“”

Then I am able to highlight individual elements

I don’t want my automation to run UiExplorer and validate that selector every time I want to use that application

@Montoya_Sanchez_Christian
welcome to the forum

For selector snippets just use the </> Format Button from Editor

are the extensions installed and setup?

An automation can’t do that anyway. I’m a little confused by you saying it’s a Citrix App but UI Explorer is able to identify individual elements - it shouldn’t be able to.

here is my selector from Ui Explorer:

<wnd app='hyperdrive.exe' cls='Chrome_WidgetWin_1' isremoteapp='1' title='*' /><ctrl role='document' />

Citrix extension is installed and Remote Runtime is installed in Citrix machine

Once I do Validate or set as target I can highlight individual elements, but I should not have to do that

image

But when you do that, does the automation then function correctly? UI Explorer has nothing to do with what happens when the automation actually runs, it’s just a selector editor. The selector as it exists in the activity is what matters.

@Montoya_Sanchez_Christian

Once you get the element from ui explorer and use in automation is that selector working?

If yes then you need to go with that route…generally visual tree will have whole path that it can read but at times due to the application behaviour we might not directly indicate but can be used from visual tree still

Cheers