Record
This tag is used to record DTF events thrown within the code and also thrown from the test case using the event tag. These events can be recorded to the following output formats: XML, Text file. Then the query tag can be used to get data back out of the recorded medium for later to be used by other test cases or the same one.
Children Tags
attribute(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){0,*}
Optional Attributes
uri
output URI used by all the record types except the console recorder.
event
prefix of the events you intend to recorder.
Usage Examples
Example #1
<record event="dtf.perf.*" type="txt" uri="storage://OUTPUT/dtf.internals.txt">
   
<local>
      
<testscript uri="storage://INPUT/parallel.xml" />
   
</local>
</record>
Example #2
<record type="txt" uri="storage://OUTPUT/recorder2.txt">
   
<for property="index" range="1,2,3,4,5,6,7,8,9,10">
      
<event name="dtf.echo.outter">
         
<local>
            
<echo>Testing...</echo>
         
</local>
      
</event>
   
</for>
   
<record type="txt" uri="storage://OUTPUT/recorder3.txt">
      
<for property="index" range="1,2,3,4,5,6,7,8,9,10">
         
<event name="dtf.echo.inner">
            
<local>
               
<echo>Testing...</echo>
            
</local>
         
</event>
      
</for>
   
</record>
</record>