Call
Execute functions that were defined in this test case or imported using the Import tag. Any properties created/altered within a function will not be visible after this function has terminated its execution.
Children Tags
(property){0,*}
Required Attributes
function
The unique name of the function to call from this point in the XML testcase.
Optional Attributes
result
the property to store the return value from this function.
Usage Examples
Example #1
<sequence>
   
<function name="func3">
      
<param name="nomore" type="optional" />
      
<local>
         
<echo>In func3</echo>
      
</local>
   
</function>
   
<call function="func3" />
   
<call function="func3">
      
<property name="nomore" value="true" />
   
</call>
</sequence>
Example #2
<sequence>
   
<function name="func3">
      
<param name="flag" type="required" />
      
<return>${succeeded}</return>
   
</function>
   
<call function="func3" result="result">
      
<property name="flag" value="true" />
   
</call>
   
<log>func3 returned ${result}</log>
</sequence>