How to put wait time or introduce sleep during execution in Testcomplete Script mode
Hi All,
Could someone please let me know the command to introduce a delay of 15 seconds between 2 test steps in Testcomplete using Script mode.
Like in selenium, we have Thread.sleep(1000), which pauses execution for 10 milliseconds and then runs next step.
Similarly , I am looking for a wait command in Testcomplete using JScript Mode in Page with specified delay of 10-20 seconds before jumping onto next command.
Please revert.
Best,
Prabhjot
Hi,
There are many ways to wait for an object during the test execution. WaitNNN methods are the best here. All recommended approaches are listed in the following article - please review it: https://support.smartbear.com/testcomplete/docs/app-objects/common-tasks/waiting-process-or-window-activation.html