cancel
Showing results for 
Search instead for 
Did you mean: 

Wait Stage Behaviour

NevilleWatson
Level 4
Hi,   I have a scenario whereby one of two different popups could appear after clicking a button.  It cannot be predicted which. Could I use a wait stage configured to wait for for each the elements?  If so would the wait stage detect the first element to pop up and then follow that path?  
2 REPLIES 2

John__Carter
Staff
Staff
Yes having a wait stage with multiple conditions is a common technique to anticipate multiple possibilities, and Yes the wait would follow the path of the first condition top become True. One thing to appreciate is that the sequence of the conditions is significant - under the covers the Wait stage runs in a loop, checking each condition in top-down order.

NevilleWatson
Level 4
Great.  Thanks. Implemented this today and it has shaved a few seconds off.