RUN KEYWORD x TIMES

Hi all,

I need to run a keyword 60 times each 500ms.
Could someone help me please?

Thanks and regards

you can use For Loop.

Hi!

Could you send me an example please? I don’t know how to repeat each 500ms

Thank you so much

Option 1 :

Repeat Keyword 60 times “Your keyword here”

Option 2 :

FOR {i} IN RANGE 0 60 "Your Keyword Here" Log To Console Keyword # {i}
END

Hello,

Yes, I tried the two ones. But in these cases, I’m not running the keyword every 500ms

Do you know how can I set it to send this keyword every 500ms?

is 500ms is a timeout?

No, it isn’t

Like this?

FOR {i} IN RANGE 0 60
Sleep 0.5
Log To Console Run Keyword every 500ms
END

I’m going to try it and tell you the result!

Thank you so much!

Repeat keyword from built-in library runs given keyword n times

1 Like