Read Status Bar: Could not find the user-interface (UI) element for this action

I’ve run into the problem where the SAP read status bar activity is not working. I’ve put in the Check App State and have verified the status is getting set, but for reasons the activity is not finding the user interface element. I have even added a delay in the automation, but still no luck. It’s probably something small I’m not doing, but I have no idea what it is. All my activities prior to the status bar are working properly and are able to access the application elements. Any and all suggestions will be appreciated. Please don’t post a link to the documentation as I’ve been looking at it for hours and it hasn’t helped. :upside_down_face:

1 Like

@kevin.clark

  1. Is the selector getting validated?
  2. Is the status coming for a very breif amount of time?
  3. Sometimes checking the visibility check option in check app state might help in cases where the element might be present through out
  4. If selector is not valid better to make it more dynamic
  5. Also try using check app state outside the scope of use app browser and check may be the whole window is considered as a different application

Cheers

1 Like

@kevin.clark,

Check if any popup is obstructing the status bar. Status bar remains always there, even if no status to display. So it’s most unlikely that status bar isn’t visible

1 Like

Hi @kevin.clark

i think using a get Text activity with strict selectors on the sap status bar, enable SAP scripting, and validate via UI explorer if the element is actually reachable - sometimes the status bar is inside a nested frame.

Happy Automation

1 Like

@Anil_G, @prashant1603765, @ashokkarale,

First, thanks for your responses and willingness to help. I’ve attached some screen shots to hopefully give a clearer picture of what I’m dealing with. The check app state is finding the status bar. Is the check app activity doing something different than Read Status Bar activity?

@kevin.clark

Ideally it should not.

Can you try to add one more Use Application Browser activity inside the existing one and inside that add a new Read Status Bar activity.

I think the SAP screen might be changing and due to that bot isn’t able to find the status bar. Also check the selectors of the Read Status Bar activity if it’s containing too tight selectors. Make it little bit dynamic using * or ? wherever possible.

I nested another Use Application Browser activity and put the Click activity inside of it and it worked, but the Read Status Bar is still not able to find the status bar element. Also, I’m only a few months into using UiPath, so could you tell me where to/how to check the selectors of the Read Status Bar activity? When I add the read status bar activity to the use application browser “Do” panel, the only option I see are the properties and not any selectors.

@kevin.clark

if you open the properties panel you would see the selector option there

cheers

Sorry, but which property are you referring to as the selector?

@kevin.clark

This is interesting ..okay you can do one thing get the output element from check app stte and pass it as input element in this activity

Cheers

Hi Kelvin, any solution you found? I also faced the same issue, seems like the Read status dsnt work?

I called Check App State and it went through Target Appears but it does not read the status msg Text / Msg Type.

@it.support1 My solution is basically a hack I’m not proud of, but I had to come up with something since UiPath is not working correctly. I used a Get Text activity and then used If activity to check value. This is not ideal at all, but it seems to work consistently for my situation.

2 Likes

Hi @kevin.clark

Since the solution mentioned in your previous post worked for you and is consistent, could you please consider marking your post as solution so this topic can now be closed?

Regards
Sonali

thank you for sharing!

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