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.

 

Notes:

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
  • For Consideration
  • Attach files
  • Peter Phelan commented
    09 Apr 20:20

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

  • Matthew Nagel commented
    06 Jun 05:18

    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).

Copyright © 2019 mabl Inc. All rights reserved.