AutoLoadChildrenAction

The AutoLoadChildrenAction action runs the get children services for the specified business object.

Declare the AutoLoadChildrenAction action as a child of a root <testcase> element by using the <action> element. Set the value for the name attribute of the <action> element to identify the name and package of the action.

<testcase>
<action name="cmc/automation/AutoLoadChildrenAction">
...
</action>
</testcase>

Parameters

This action accepts the following parameters:
object
The name of the parent business object. This name must match the objectKey parameter of a previous action that created or located the parent business object. If the parent business object is not specified, the object path resolves relative to the top object.
objectType
Optional: The object type of the child business object that you want to load.

Example

The following code snippet shows an example of these parameters when used in the AutoLoadChildrenAction action:

<!-- Load the children of the attachment -->
<action name="cmc/automation/AutoLoadChildrenAction">
  <param name="object" value="attachment"/>		
</action>