Check app state activity, returning else

Hello,
I am trying to see if this element exists, using check app state activity,
The selectors are written correctly and even gets highlighted,
But It goes to the else condition always.


Thank you

Hi Hansen,

Are you sure that Window Selector is correct?
If window selector is wrong then it doesnot find the ui element at runtime.

Within UI element attributes, id can often change each time you browse to the page, especially an id that looks like that. You should edit the selector, take out id, and put in attributes that won’t change.

I tried using strict and fuzzy selector and seems to be working

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