I’m using a bot to cycle through a group of processes in the SAP GUI. I am requesting it to wait a box to appear. If it appears, i want it to click a box and loop back to the beginning of the process. If a box does not appear, I want it to continue on with the steps. For some reason, whenever I test this, it doesn’t ever go to the ‘does not appear’ section. Any tips on how to make this work?
Error messages below. You can see it seems to try to find the ‘if target appears’ element even though it doesn’t appear by design.
Click ‘Button Continue (Enter)’: Could not find the user-interface (UI) element for this action.
Possible solutions:
• Ensure application is opened and the UI element is visible on the screen at execution time
• Edit the Target of the UI activity and use Validation to debug the issue.
• If needed, re-indicate the element as its properties might have changed
• Use “Check state” activity to check the application state before executing the action
• Increase the “Delay before” value to allow time to the application to render entirely and become responsive
Ok you are the case which is really working in StudioX. In such case you can use a UiAutomation Activity (e.g. click) for the analysis and comment it out when not needed
Hi Guys - I set the visibility check to ‘fully visible’ and now i seem to have the opposite problem where it can’t detect the object and goes straight into the ‘target does not appear’ menu.
One time I highlighted the check app state object and it gave me a uiexplorer recommendation, but that no longer comes up and is not a part of the StudioX package it would appear. Is there a way to download this separately?
Otherwise - it seems like if i set the visibility check to ‘Interactive’ it looks for it every time and is able to interact with it. If I set it to ‘fully visible’ it just can’t see it at all and jumps to the ‘target does not appear’ option. If there isn’t a way to get the UiExplorer thing, is there a setting in here I can mess with?
But i have it as ‘element to appear’ with a 10 second timeout. If it doesn’t appear, shouldn’t it just move into the ‘target does not appear’ window? Right now it seems to just not move into ‘target does not appear’ under any circumstance.
Sorry - to clarify, the element does not become visible, so i WANT it go to go ‘does not appear’. I am trying to say - if this popup appears, click continue and go back to the beginning of the loop (this part seems to work). If it does NOT appear - go to the rest of the flow (right side of automation). Below is the flow I built as well as a screenshot of the popup window that either appears or does not. Does that make sense?
If I have the ‘Fully Visible’ visibility option selected, it automatically goes to the ‘target does not appear’ side. It seems that it can’t detect the pop up window that i screenshotted above. If I have the ‘Interactive (for fuzzy selector)’ option selected, it can detect the popup window and click through it, but if the window never appears it just keeps trying to look for the window, times out, and posts the error message I posted above on Sept. 19.
It seems that whatever I choose it will only go down one path or the other.