Develop > Presentation layer > Management Center test automation framework


wcfAutoDeleteObjectAction

The wcfAutoDeleteObjectAction action deletes the specified business object.


Parameters

This action accepts the following parameters:

object

Required: The name of the business object to delete. This name must match the objectKey parameter of a previous action that created or located the object.

abortOnError

Specifies whether to continue the automated testing when the wcfAutoDeleteObjectAction action cannot be performed. By default, this parameter is set to true to stop automated testing when this action cannot be performed.


Example

The following code snippet shows an example of this parameter used in the wcfAutoDeleteObjectAction action:

<!-- Delete a product --> 
<action name="wcfAutoDeleteObjectAction"> 
<param name="object" value="product"/> 
<param name="abortOnError" value="false"/> 
</action>

Related reference

wcfAutoRunTestCaseAction

wcfAutoOpenToolAction

wcfAutoSetValueAction

wcfAutoSelectStoreAction

wcfAutoCreateNewObjectAction

wcfAutoSetPropertyAction

wcfAutoFindObjectAction

wcfAutoGetChildObjectAction

wcfAutoLoadChildrenAction

wcfAutoSaveAllAction

wcfAutoRefreshAllAction

wcfAutoVerifyObjectAction

wcfAutoVerifyNoObjectAction

wcfAutoVerifyPropertyAction

wcfAutoRunCustomServiceAction


+

Search Tips   |   Advanced Search