cancel
Showing results for 
Search instead for 
Did you mean: 

AMI error occurred in WaitStart Stage

SandeepKutwal
Level 4
Hi, Can anyone please sugegst on error at wait stage  : 5 consecutive retries: AMI error occurred in WaitStart Stage 'Element Exists?' on page 'page' - Not Connected Please suggest . Thanks, Sandeep   
4 REPLIES 4

Denis__Dennehy
Level 15
Not connected means you are not connected/attached to your application - so it would be impossible to interface with it.  You need to revisit your attach logic.

Janvd_Velden
Level 3
I have the same error and in our case we are attaching to the object, it runs action A within the object fine for multiple steps. Then we call action B of the same object within action A and then get the error. It seems unlikely that it is attach-logic in this case or am I overlooking anything?

Denis__Dennehy
Level 15
If your error says you are not connected - it could be that something is causing the application to spawn into a different thread or something causing the detatch. You seem to suggest you aleady have retry logic in your solution (5 consecutive retries) - couldn't you simply add logic to read connected and if not connected attach within that retry logic?

SandeepKutwal
Level 4
Hi Denis, We have added same retry suggested by you. First checking if connected and then attaching to it. But for few cases it is still failing with same exception message.   Please suggest if there is other way to handle this issue.