Feature Requests & Ideas

For bug reports and questions, please use the in-app chat or support@mabl.com.

I have a long running operation in my web app and need to wait approx. 25mins and don't like hardcoded waits.

I have an operation in my web application that takes a long time (i.e. approx. 25mins)

When it completes I will get a status message of "Running" or "Provision Failed" in my web application.

How can I wait for the text "Running" or "Provision Failed" I am currently using hardcoded waits?  


You can appreciate the disadvantages of doing that:

1. Sometimes it takes 23mins not 25mins

2. Sometimes (i.e. rarely) I might get "Provision Failed" so need to needless wait.


Ideal solution:

Use an assert but have a wait parameter for that element to appear.



Currently, the assert waits a max of 30 secs.

Also, your hardcoded wait has a max of 180secs. I needed to use 7 of these and 1 60sec wait.

  • Peter Phelan
  • Apr 9 2019
  • Shipped
  • Attach files
  • Matthew Nagel commented
    6 Jun, 2019 05:18am

    I also think it would be handy to have wait while 'assertion' functionality.

    Or a behaviorally determined wait where I set baseline wait period that is adjusted automatically by mabl slowly over time (only on successful journey executions).

  • Peter Phelan commented
    9 Apr, 2019 08:20pm

    correction - Need to use 8 waits (i.e. 8 X 180 = 24mins ) and 1 60sec wait.

Copyright © 2020 mabl Inc. All rights reserved.