Check App State finds window when it shouldn't - and UI Explorer doesn't find it with same selector

UiPath.System.Activities 24.10.6

UiPath.UIAutomation.Activities 24.10.10

I am using Check App State to confirm the automation has moved to the correct page in an application. The window selector looks like this:

The title is the value that changes depending on where we are in the application, app and cls stay the same. Using Selector Editor the validation fails which is correct (and UI Explorer gives the same result):

But when running the automation (or using “Edit target”) it thinks the window is there:

image

Note the title is REL_SELECT not REL_PAGE11. So it shouldn’t be highlighted green.

@postwick ,

Instead of indicating the window in check app state try indicating an UI element from the window to check if it’s loaded or not.

I observed checking full window with check app state results in this kind of behaviour but but sure why.

Unfortunately I can’t do that because it’s an app delivered via RDP. I’m not in a RDP session on another desktop, the app launches via RDP (similar to Citrix). So selectors for individual UI elements are not available.

However, I can use CV to check for the text of the title - but I’d probably switch to Element Exists instead of trying to use CV.

ok @postwick. In that case use CV Element Exists

CV is built into Check App State and the other modern activities, there’s no need to use the CV Scope and CV activities.

1 Like

This is maddening. I’ve been going through and switching it to looking for the window title with CV and it’s still getting it wrong.