I am using activity “Check element” to check if the element exist in out window or not and expecting result in “true” or “False”.
If the element exist in the window it is working fine and give result as “True” but if the element doesnot exist it gives the below error instead of giving output as “False”
ERROR lines : "Check Element ‘The user’: 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"
Ideally it should be resolved by replacing with check app state or by changing the selector of parent app block. Try to avoid selecting continues on error, use this only if there is no other option at all.
You can try to find element by image exist block and if image exist it should go ahead
Or try with pick branch some Alternet block and activities like this
Hello @Anil_G i am using the activity check element inside “use application” activity as described by you but still it is getting that same error as i described in my above question.