Timer
All of the direct children of this tag are executed over and over until the value of interval has been hit. The value of the interval is explain in the interval attribute below.
Children Tags
(sequence | parallel | for | parallelloop | switch | distribute | try | timer | if | local | component | fail | choices | while | assert | result | testsuite | testscript | testproperty | record | event | query | nextresult | resetcursor | iterate | compare | filter | sort | log | stats | function | call | sleep | property | replace | diffproperty | createrange | unset | sleep | echo | fail | break | log | cat | monitor_create | monitor_destroy | monitor_grep | monitor_diff | event | attribute | http_get | http_post | http_put | http_head | http_delete | http_request | http_server | http_response | urlencode | replace | add | mod | abs | subtract | multiply | divide | share_create | share_destroy | share_get | share_set | share_wait | rendezvous_create | rendezvous_destroy | rendezvous_check | rendezvous_visit | rendezvous_reset | printf | scanf | headergroup | cookiegroup | http_config | read_image | seleniumopen | openwindow | close | type | submit | runscript | select | selectframe | selectwindow | click | clickat | doubleclick | doubleclickat | draganddrop | draganddroptoobject | mousedown | mousedownat | mousemove | mousemoveat | mouseout | mouseover | mouseup | mouseupat | createcookie | deletecookie | answeronnextprompt | choosecancelonnextconfirmation | chooseokonnextconfirmation | altkeydown | altkeyup | controlkeydown | controlkeyup | shiftkeydown | shiftkeyup | metakeydown | metakeyup | keydown | keyup | refresh | goback | windowmaximize | getalert | getallbuttons | getallfields | getalllinks | getallwindowids | getallwindownames | getallwindowtitles | getattribute | getattributefromallwindows | getbodytext | getconfirmation | getcookie | getcursorposition | getelementheight | getelementindex | getelementpositionleft | getelementpositiontop | getelementwidth | geteval | getexpression | gethtmlsource | getlocation | getmousespeed | getprompt | getselectedid | getselectedids | getselectedindex | getselectedlabel | getselectedlabels | getselectedvalue | getselectedvalues | getselectoptions | gettable | gettext | gettitle | getvalue | getwhetherthisframematchframeexpression | getwhetherthiswindowmatchwindowexpression | getxpathcount | setcontext | setcursorposition | setextensionjs | setmousespeed | setspeed | settimeout | addselection | removeselection | removeallselections | check | uncheck | waitforcondition | waitforframetoload | waitforpagetoload | waitforpopup){1,*}
Required Attributes
interval
The interval of time during which all underlying children will be re-executed. This time can be defined with the follow suffixes:
Value Description
s Seconds
h Hours
d Days
m Months
Optional Attributes
property
property is assigned the value of the number of times the timer has looped.
Usage Examples
Example #1
<timer interval="2s">
   
<component id="${agent}">
      
<echo>Echo on ${agent} of loop ${loop}.</echo>
   
</component>
</timer>
Example #2
<timer interval="2m">
   
<log>on loop #${loop}.</log>
</timer>