Hello, I have a problem with a use of Check App State in SAP.
Sometimes a special field or text box appears and depending on whether the box is recognized or not, a different sequence should be clicked.
I have now intercepted it with Messageboxes, but it always goes to the element appears direction and it is so that this box is always recognized.
I have already adjusted everything on the selectors, set the delay etc. → It doesn’t work and I can’t find the reason.
It is also strange that the selector does not validate and only the Windows App Selector validates
Do you know where my error could be?
Thank you !
Selector is gray?
@christian1
-Ensure that your selectors are not too specific, especially if the application generates dynamic attributes. Utilize wildcards (*
for any number of characters, ?
for a single character) to make your selectors more flexible.
-SAP applications often have dynamic attributes. If the attribute values change, consider using the *
wildcard in the selector.
-Use the UI Explorer within UiPath Studio to inspect the elements and validate the selectors. This tool allows you to fine-tune selectors and see if they are correctly identifying the element.
-Manually edit the selector in the Selector Editor to ensure that it accurately identifies the target element.
Insert a delay before the activity that interacts with the element. Sometimes, a delay can help the application catch up with the automation process.
Some elements might be available in the UI tree even though they are not visible. To check visibility, you can utilize the Properties panel
These can be fetched with the “Get Attribute” activity.
You can also try to with selecting “Fully visible” from Visibility check
in Check App State activity.