Invocation did not finish within the timeout

Best practices, code snippets for common functionality, examples, and guidelines.
HansSchl
Posts: 125
Joined: Wed Sep 19, 2018 10:05 am

Invocation did not finish within the timeout

Post by HansSchl » Mon Apr 11, 2022 8:17 am

Hi,

running the same tests again and again, sometimes I see the message "Invocation did not finish within the timeout of '00:00:05'." The action in question is a SetValue action on a text element with an effective timeout of 3 minutes, according to its properties. Can anyone explain that to me?

Regards
Hans

Fergal
Certified Professional
Certified Professional
Posts: 448
Joined: Tue Feb 18, 2014 2:14 pm
Location: Co Louth, Ireland
Contact:

Re: Invocation did not finish within the timeout

Post by Fergal » Mon Apr 11, 2022 9:33 am

Hans, I previously had a similar issue relating to Wait for Exists. I never really got to the bottom of it, but thankfully it is not something that happened on future tests. I worked around the issue by placing a delay before the action step. That's not an ideal solution, but if it is a one off issue, adding a delay might get you passed it.