# PROBLEM : Delay between actions settings

**URL:** <https://forum.katalon.com/t/problem-delay-between-actions-settings/21722>\
**Category:** Bug Report\
**Tags:** bugs-report, katalon-studio\
**Created:** [March 22, 2019, 7:30am UTC](https://forum.katalon.com/t/problem-delay-between-actions-settings/21722 "2019-03-22T07:30:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdryetyln](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kdryetyln/32/2373_2.png) [@kdryetyln](https://forum.katalon.com/u/kdryetyln)\
**Post date:** [March 22, 2019, 7:30am UTC](https://forum.katalon.com/t/problem-delay-between-actions-settings/21722/1 "2019-03-22T07:30:55Z")

</div>

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 …

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/4/408fbae3ff079dde1fafb762f9a4258fadc4edc1.png)  
 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/f/fd67d32f113743cf7547185d1b24953ad9aeaae0.png)

---

<div class="post-metadata">

**Author:** ![Mariusz](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/mariusz/32/386_2.png) [@Mariusz](https://forum.katalon.com/u/Mariusz)\
**Post date:** [March 22, 2019, 12:39pm UTC](https://forum.katalon.com/t/problem-delay-between-actions-settings/21722/2 "2019-03-22T12:39:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jon\_West](https://avatars.discourse-cdn.com/v4/letter/j/f0a364/32.png) [@Jon\_West](https://forum.katalon.com/u/Jon_West)\
**Post date:** [March 22, 2019, 1:49pm UTC](https://forum.katalon.com/t/problem-delay-between-actions-settings/21722/3 "2019-03-22T13:49:08Z")

</div>

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

See:

> [@Delay Between Actions](http://forum.katalon.com/t/delay-between-actions/9355):
>
> Hello, Right now under Project Settings\>Execution\>Default\>Web UI you have Delay Between Actions (in seconds). I would like to be able to enter partial seconds like .5 for half a second or .3 etc. Sometimes 1 full second is too much when I have a lot of steps. Thanks, Don

> [@How to set delay to 300 milliseconds?](http://forum.katalon.com/t/how-to-set-delay-to-300-milliseconds/9250):
>
> How to set delay to 300 milliseconds? For the function Delay is possible only integer seconds.

---

<div class="post-metadata">

**Author:** ![kdryetyln](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kdryetyln/32/2373_2.png) [@kdryetyln](https://forum.katalon.com/u/kdryetyln)\
**Post date:** [March 22, 2019, 1:52pm UTC](https://forum.katalon.com/t/problem-delay-between-actions-settings/21722/4 "2019-03-22T13:52:48Z")

</div>

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

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/e/e1f840b23910c78231066c577864335c6e19a073.png)

---

<div class="post-metadata">

**Author:** ![Mariusz](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/mariusz/32/386_2.png) [@Mariusz](https://forum.katalon.com/u/Mariusz)\
**Post date:** [March 22, 2019, 2:21pm UTC](https://forum.katalon.com/t/problem-delay-between-actions-settings/21722/5 "2019-03-22T14:21:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [March 16, 2020, 2:39pm UTC](https://forum.katalon.com/t/problem-delay-between-actions-settings/21722/6 "2020-03-16T14:39:27Z")

</div>

Automatically bumped on March 16, 2020, 2:39pm UTC



---

<div class="post-metadata">

**Author:** ![Jass](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jass/32/9588_2.png) [@Jass](https://forum.katalon.com/u/Jass)\
**Post date:** [April 1, 2020, 7:16am UTC](https://forum.katalon.com/t/problem-delay-between-actions-settings/21722/7 "2020-04-01T07:16:51Z")

</div>

Closed on April 1, 2020, 7:16am UTC


