In my automation I used Check app state activity and Element Exists activities . I have given 5 sec delay in timeout property. by when executing these activities taking too much time than the timeout . Attaching the screenshot for reference.
While using the check app state activity the default time to check the element appears is 5 seconds and there is one more 2 seconds delay for this activity in delay before property. But the element exist and check app state takes much time than the other activities.
If you’re trying to check a browser popup, that definitely takes time, apart from that it should be able to find the elements as soon as it becomes interactive
Already used Log messages in the process before the activity executes. That log is written successfully after that bot enters into the check app state/ Element exists activities
and waiting for long time. The issue occurred intermittently.
If you are running in debug mode there might be more delays you might see…to confirm that please run the process in run mode or from orchestrator then you can see the exact wait times
If the activities consistently take longer than the specified timeout, you can increase the timeout value to allow more time for the activities to complete. Try increasing the timeout incrementally and observe if the activities can complete within the new timeout value, also ensure that the selector used in the “Element Exists” activity is accurate and specific enough to identify the element reliably. A more precise selector can improve the performance of the activity and reduce the execution time.