We have a script to process transactions in a 3rd party app. It works great. However, it takes too long to execute a transaction (~8 min)
What I have noticed, is that it takes a long time in those places that are using the UiElementExists Activity.
According to UiElementExists documentation, the default time to timeout is 30 seconds. If those 30 seconds are reached, the activity throws an error. So, does UiPath actually sit and wait for any given time lower than that timeout time to find that element or it does not wait at all?
I am including an image with the pattern that is used in several places of our script:
a) Enter a case number in a search box and then press F6 on the keyboard to search it
b) Delay 5 seconds to give time to the 3rd party app to load the case.
c, d, e) If a pop up with the message ‘Case Not Found’ shows up, throw error
Even though the delay is only 5 seconds, it takes longer than that to execute the logic. The UiElementExists does not have any extra parameters. We only have the selector of the element that we are trying to find.
So, my question is, how can we improve this? Maybe another pattern? Another activity?
Thanks