Forum Discussion

TestQA1's avatar
TestQA1
Frequent Contributor
2 years ago
Solved

Effective alternative to aqUtils.Delay(timeoutvalue);

Hi friends,   I have bdd javascripts that run on java based desktop application. The desktop is slow at many operations such as when it selects some value from the drop down, it takes time and the ...
  • AlexKaras's avatar
    2 years ago

    Hi,

     

    I read a page on waitnnn, waitxxx etc. but don't know if they can be applied in the above scenario. 

    Yes, this is the correct way: your test code should wait in a loop until either the required object appears and gets required state (enabled, populated with data, etc.) or timeout occurs.