PROBLEM : Delay between actions settings

Hello there. In the project settings - Execution tab, the number of seconds we write in the ‘Delay between actions’ setting always allows full numbers. I want to write in seconds like ‘0.5’ but unfortunately the system does not allow it. When I set it here for 1 second, my test cases are running very slowly. When I set it to 0 seconds, the pages are getting too fragile because they have difficulty seeing the objects. The step that was running when I ran the previous one gives an error in another run. I’m writing a delay or wait for the cases, but that’s not something I want to do. Because a situation that requires a lot of effort.
In fact, I want to specify the time in milliseconds, not in seconds. Isn’t this more flexible?
Is there a solution for this problem?
Thank you …


1 Like

Make new keyword, import some libs:
import java.util.concurrent.TimeUnit
TimeUnit.MILLISECONDS.sleep(500)
And use it in your TC.

This has been brought up before. Hopefully it will be added as an improvement soon.

See:


1 Like

I’ve tried. But I got an error like this:

Sorry, change to this:
TimeUnit.MILLISECONDS.sleep(500)