Katalon Analytics (beta) – Bringing new insights into test reports. Learn more!

Is there a way in Katalon to wait() for a certain number of seconds ?

Hello,

In some of our test scenarios we have to wait for at least 1 minute before doing an action. We are not waiting for an element to load or something but rather just waiting cause these are our system limitations.
We tried this:
WebUiCommonHelper.wait(60000)
but it triggers an error message stating:
05-24-2017 06:19:32 PM - [ERROR]  - Test Cases/Login/Valid login inputs FAILED because (of) java.lang.IllegalMonitorStateException

Would you be able to clarify on the simple wait() action please ? Where did we make a mistake ? Based on the wait() function description it is still waiting for an element to load but how can we just let Katalon Studio wait for 1 minute for instance and then keep executing the code right after that.

Thanks!

Comments

Sign In or Register to comment.