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.